From 4dd121e6345a6ae4def4087a9b97bfa7218e0b96 Mon Sep 17 00:00:00 2001 From: JT Smith Date: Thu, 10 Feb 2005 15:21:41 +0000 Subject: [PATCH] fix [ 1118753 ] GUID not displayed in 6.2.9 if it begins with "-". --- lib/WebGUI/Operation/User.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Operation/User.pm b/lib/WebGUI/Operation/User.pm index 879af3bc0..15f3c401d 100644 --- a/lib/WebGUI/Operation/User.pm +++ b/lib/WebGUI/Operation/User.pm @@ -450,7 +450,7 @@ sub www_listUsers { $output .= ''.epochToHuman($data->{dateCreated},"%z").''; $output .= ''.epochToHuman($data->{lastUpdated},"%z").''; my ($lastLoginStatus, $lastLogin) = WebGUI::SQL->quickArray("select status,timeStamp from userLoginLog where - userId='$data->{userId}' order by timeStamp DESC"); + userId=".quote($data->{userId})." order by timeStamp DESC"); if ($lastLogin) { $output .= ''.epochToHuman($lastLogin).''; } else {