From: Antoine Musso Date: Mon, 14 Jun 2004 11:44:38 +0000 (+0000) Subject: using LIKE "%sysop%" to allow listing of sysops with other rights. X-Git-Tag: 1.5.0alpha1~2849 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=ffea61f99c52e079e01ae3d04d0b57f9f4529c5c;p=lhc%2Fweb%2Fwiklou.git using LIKE "%sysop%" to allow listing of sysops with other rights. --- diff --git a/includes/SpecialListadmins.php b/includes/SpecialListadmins.php index 39ad800543..6e67fc86c6 100644 --- a/includes/SpecialListadmins.php +++ b/includes/SpecialListadmins.php @@ -19,7 +19,7 @@ class ListAdminsPage extends PageQueryPage { return 'SELECT user_rights as type,'.$userspace.' as namespace,'. 'user_name as title, user_name as value '. "FROM $usertable ". - 'WHERE user_rights = "sysop"'; + 'WHERE user_rights LIKE "%sysop%"'; } }