Commit bf43cc08 authored by bugreport%peshkin.net's avatar bugreport%peshkin.net

Bug 252190: Fix unitialized value in editusers.cgi

r=vlad a=justdave
parent 5013f383
......@@ -135,9 +135,9 @@ sub EmitFormElements ($$$$)
if($user ne "") {
print "</TR><TR><TH VALIGN=TOP ALIGN=RIGHT>Group Access:</TH><TD><TABLE><TR>";
SendSQL("SELECT groups.id, groups.name, groups.description, " .
"MAX(grant_type = " . GRANT_DIRECT . "), " .
"MAX(grant_type = " . GRANT_DERIVED . "), " .
"MAX(grant_type = " . GRANT_REGEXP . ") " .
"MAX(IF(grant_type = " . GRANT_DIRECT . ", 1, 0))," .
"MAX(IF(grant_type = " . GRANT_DERIVED . ", 1, 0))," .
"MAX(IF(grant_type = " . GRANT_REGEXP . ", 1, 0))" .
"FROM groups " .
"LEFT JOIN user_group_map " .
"ON user_group_map.group_id = groups.id " .
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment