summaryrefslogtreecommitdiff
path: root/modules/system/system.install
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system/system.install')
-rw-r--r--modules/system/system.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.install b/modules/system/system.install
index c414d99b1..ccdcad65c 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -1764,7 +1764,7 @@ function system_update_7003() {
));
$or = db_condition('or');
foreach ($result as $allowed) {
- $or->where('LOWER(ip) LIKE LOWER(:mask)', array(':mask' => $allowed->mask));
+ $or->condition('ip', $allowed->mask, 'LIKE');
}
if (count($or)) {
db_delete('blocked_ips')