fix auth pb
authorx2001corpet <x2001corpet@839d8a87-29fc-0310-9880-83ba4fa771e5>
Thu, 15 Feb 2007 22:55:25 +0000 (22:55 +0000)
committerx2001corpet <x2001corpet@839d8a87-29fc-0310-9880-83ba4fa771e5>
Thu, 15 Feb 2007 22:55:25 +0000 (22:55 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/branches/platal-0.9.13@1505 839d8a87-29fc-0310-9880-83ba4fa771e5

classes/platal.php

index ec9ca3f..c2f68f9 100644 (file)
@@ -200,6 +200,7 @@ class Platal
 
         $val = call_user_func_array($hook['hook'], $args);
         if ($val == PL_DO_AUTH) {
+            global $globals;
             // The handler need a better auth with the current args
             if (!call_user_func(array($globals->session, 'doAuth'))) {
                 $this->force_login($page);