From cace61cfd2f571d9741a6cfce72e91b5859c1047 Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Tue, 1 Apr 2008 10:56:53 +0200 Subject: [PATCH] 404/403 do not require auth. Signed-off-by: Florent Bruneau --- classes/platal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/platal.php b/classes/platal.php index cec37f2..4c1f60a 100644 --- a/classes/platal.php +++ b/classes/platal.php @@ -259,7 +259,7 @@ class Platal } $val = call_user_func_array($hook['hook'], $args); - if ($val & PL_DO_AUTH) { + if ($val == PL_DO_AUTH) { // The handler need a better auth with the current args if (!call_user_func(array($globals->session, 'doAuth'))) { $this->force_login($page); -- 2.1.4