Fix variable name.
authorJan Schneider <jan@horde.org>
Sun, 14 Feb 2010 22:23:20 +0000 (23:23 +0100)
committerJan Schneider <jan@horde.org>
Sun, 14 Feb 2010 22:24:07 +0000 (23:24 +0100)
wicked/lib/Wicked.php

index 1cf0114..ab043f4 100644 (file)
@@ -109,7 +109,7 @@ class Wicked {
                  * this on our own because all the buttons go to the same .php
                  * file, just with different args. */
                 if (!strstr($_SERVER['PHP_SELF'], 'prefs.php') &&
-                    $curpage === $rawname) {
+                    $curpage === $pagename) {
                     $cellclass = 'current';
                 } else {
                     $cellclass = '__noselection';