wibble
authorPierre Habouzit (MadCoder <pierre.habouzit@m4x.org>
Sat, 8 Jan 2005 14:46:59 +0000 (14:46 +0000)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 26 Jun 2008 21:27:18 +0000 (23:27 +0200)
git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-248

include/xorg.inc.php

index 5245c0e..3849f71 100644 (file)
@@ -108,7 +108,7 @@ function new_skinned_page($tpl_name, $min_auth)
 
 function new_simple_page($tpl_name, $min_auth)
 {
-    global $page,$globals;
+    global $page;
     _new_page(SKINNED, $tpl_name, $min_auth);
     $page->assign('simple', true);
 }
@@ -118,7 +118,7 @@ function new_simple_page($tpl_name, $min_auth)
 
 function new_nonhtml_page($tpl_name, $min_auth)
 {
-    _new_page(NO_SKIN, $tpl_name, "", $min_auth, false);
+    _new_page(NO_SKIN, $tpl_name, $min_auth, false);
 }
 
 // }}}