backport
authorx2001corpet <x2001corpet@839d8a87-29fc-0310-9880-83ba4fa771e5>
Thu, 15 Feb 2007 22:56:05 +0000 (22:56 +0000)
committerx2001corpet <x2001corpet@839d8a87-29fc-0310-9880-83ba4fa771e5>
Thu, 15 Feb 2007 22:56:05 +0000 (22:56 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1506 839d8a87-29fc-0310-9880-83ba4fa771e5

classes/platal.php

index bc8e0a6..ac3f982 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);