plugins/SpecialUserPrefs.php
changeset 322 5f1cd51bf1be
parent 317 f8356d9c3481
child 328 dc838fd61a06
--- a/plugins/SpecialUserPrefs.php	Sat Dec 15 18:10:14 2007 -0500
+++ b/plugins/SpecialUserPrefs.php	Tue Dec 18 23:44:55 2007 -0500
@@ -47,7 +47,7 @@
 {
   global $db, $session, $paths, $template, $plugins; // Common objects
   
-  if ( $paths->namespace != 'Special' || $paths->cpage['urlname_nons'] != 'Preferences' )
+  if ( $paths->namespace != 'Special' || $paths->page_id != 'Preferences' )
     return false;
   
   $tb .= "<ul>$template->toolbar_menu</ul>";