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 {