Fixes the session's logger instantiation when suid is in use (should use parameter...
authorVincent Zanotti <vincent.zanotti@polytechnique.org>
Sun, 20 Jul 2008 21:04:35 +0000 (23:04 +0200)
committerVincent Zanotti <vincent.zanotti@polytechnique.org>
Sun, 20 Jul 2008 21:05:55 +0000 (23:05 +0200)
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
classes/s.php

index eb55adb..9be89a7 100644 (file)
@@ -77,7 +77,7 @@ class S
         if (!S::has('log')) {
             if (S::has('suid')) {
                 $suid = S::v('suid');
-                S::set('log', new PlLogger(S::v('uid'), $suid['uid']));
+                S::set('log', new PlLogger(S::v('uid', $uid), $suid['uid']));
             } else if (S::has('uid') || $uid) {
                 S::set('log', new PlLogger(S::v('uid', $uid)));
             }