Commit 750043b8 authored by Dries's avatar Dries

- Fixed bug introduced by previous patch.

parent a7713036
......@@ -47,7 +47,7 @@ function user_load($array = array()) {
$query .= "LOWER(u.$key) = '". strtolower(check_query($value)) ."' AND ";
}
}
$result = db_query_range('SELECT u.* FROM {users} u WHERE $query u.status < 3', 0, 1);
$result = db_query_range("SELECT u.* FROM {users} u WHERE $query u.status < 3", 0, 1);
$user = db_fetch_object($result);
$user = drupal_unpack($user);
......
......@@ -47,7 +47,7 @@ function user_load($array = array()) {
$query .= "LOWER(u.$key) = '". strtolower(check_query($value)) ."' AND ";
}
}
$result = db_query_range('SELECT u.* FROM {users} u WHERE $query u.status < 3', 0, 1);
$result = db_query_range("SELECT u.* FROM {users} u WHERE $query u.status < 3", 0, 1);
$user = db_fetch_object($result);
$user = drupal_unpack($user);
......
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