From 38b7dbd95e5d725eb2b7b34a6a8fe5e0c84073f0 Mon Sep 17 00:00:00 2001 From: Vincent Zanotti Date: Sun, 20 Jul 2008 23:04:35 +0200 Subject: [PATCH] Fixes the session's logger instantiation when suid is in use (should use parameter-provided $uid when no other uid is available). Signed-off-by: Vincent Zanotti --- classes/s.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/s.php b/classes/s.php index eb55adb..9be89a7 100644 --- a/classes/s.php +++ b/classes/s.php @@ -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))); } -- 2.1.4