diff options
author | Victor Benincasa <vbenincasa@gmail.com> | 2013-03-26 07:08:58 -0300 |
---|---|---|
committer | Victor Benincasa <vbenincasa@gmail.com> | 2013-03-26 07:08:58 -0300 |
commit | 39062647473c7ff105fff7e5295ee9c0ca931e32 (patch) | |
tree | 0582e0d0a85fad6fd7a5214e1c773f5ac20f1112 /program/lib | |
parent | 1f82e46502934b7e2c4b53b33dc5ebb67f8e39b0 (diff) |
Fix typos
Diffstat (limited to 'program/lib')
-rw-r--r-- | program/lib/Roundcube/rcube_session.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/program/lib/Roundcube/rcube_session.php b/program/lib/Roundcube/rcube_session.php index 059cc1112..dedde2284 100644 --- a/program/lib/Roundcube/rcube_session.php +++ b/program/lib/Roundcube/rcube_session.php @@ -203,8 +203,8 @@ class rcube_session if (is_array($a_oldvars)) { // remove unset keys on oldvars foreach ((array)$this->unsets as $var) { - if (isset($a_oldvars[$k])) { - unset($a_oldvars[$k]); + if (isset($a_oldvars[$var])) { + unset($a_oldvars[$var]); } else { $path = explode('.', $var); @@ -407,7 +407,7 @@ class rcube_session /** * Unset a session variable * - * @param string Varibale name (can be a path denoting a certain node in the session array, e.g. compose.attachments.5) + * @param string Variable name (can be a path denoting a certain node in the session array, e.g. compose.attachments.5) * @return boolean True on success */ public function remove($var=null) |