From 3f57af9453d531e6f314a730a846d9634e1af0b5 Mon Sep 17 00:00:00 2001 From: "Pierre Habouzit (MadCoder" Date: Fri, 28 Jan 2005 11:27:30 +0000 Subject: [PATCH] backport Patches applied: * opensource@polytechnique.org--2005/platal--release--0.9.4--patch-4 WHERR -> WHERE git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-404 --- scripts/webredirect.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/webredirect.php b/scripts/webredirect.php index a27cbd3..dac46bb 100644 --- a/scripts/webredirect.php +++ b/scripts/webredirect.php @@ -30,7 +30,7 @@ $res = $globals->xdb->query( "SELECT redirecturl FROM auth_user_quick AS a INNER JOIN aliases AS al ON (al.id = a.user_id AND (al.type='a_vie' OR al.type='alias' OR al.type='epouse')) - WHERR al.alias = {?}", $username); + WHERE al.alias = {?}", $username); if ($url = $res->fetchOneCell()) { $url = preg_replace('@/+$@', '', $url); -- 2.1.4