Merge branch 'QA_3_3'
This commit is contained in:
@@ -165,8 +165,8 @@ function PMA_RangeOfUsers($initial = '')
|
|||||||
// strtolower() is used because the User field
|
// strtolower() is used because the User field
|
||||||
// might be BINARY, so LIKE would be case sensitive
|
// might be BINARY, so LIKE would be case sensitive
|
||||||
if (!empty($initial)) {
|
if (!empty($initial)) {
|
||||||
$ret = " WHERE `User` LIKE '" . $initial . "%'"
|
$ret = " WHERE `User` LIKE '" . PMA_sqlAddslashes($initial) . "%'"
|
||||||
. " OR `User` LIKE '" . strtolower($initial) . "%'";
|
. " OR `User` LIKE '" . PMA_sqlAddslashes(strtolower($initial)) . "%'";
|
||||||
} else {
|
} else {
|
||||||
$ret = '';
|
$ret = '';
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user