From ebd9cb89305025a3c5faf0ee5ab5d1ee9e8d2c1c Mon Sep 17 00:00:00 2001 From: Vincent Zanotti Date: Tue, 22 Apr 2008 19:56:53 +0200 Subject: [PATCH] Displays email redirections for registered users when using an user id in the user administration section. Signed-off-by: Vincent Zanotti --- modules/admin.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/admin.php b/modules/admin.php index ef9fa0e..d878f03 100644 --- a/modules/admin.php +++ b/modules/admin.php @@ -406,7 +406,8 @@ class AdminModule extends PLModule } $mr = $r->fetchOneAssoc(); - if (!is_numeric($login)) { //user has a forlife + // Checks the user has a forlife, as non-registered user can't have redirections. + if ($mr['forlife']) { $redirect = new Redirect($mr['user_id']); } -- 2.1.4