summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorVictor Benincasa <vbenincasa@gmail.com>2013-04-18 20:05:32 -0300
committerVictor Benincasa <vbenincasa@gmail.com>2013-04-18 20:05:32 -0300
commit9824e212cc3a8ca7ba8c69f75f6adfe8ea318191 (patch)
treeb5f69c2636fdd01ce9ad7048f1e1cb4377cd8a71 /program
parent51f52b525bc3b10b8008d916353f3034a9081cee (diff)
Fix typos
Allows the new_user_dialog plugin to work properly
Diffstat (limited to 'program')
-rw-r--r--program/lib/Roundcube/rcube_session.php6
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)