Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
750043b8
Commit
750043b8
authored
May 24, 2004
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Fixed bug introduced by previous patch.
parent
a7713036
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
modules/user.module
modules/user.module
+1
-1
modules/user/user.module
modules/user/user.module
+1
-1
No files found.
modules/user.module
View file @
750043b8
...
...
@@ -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
);
...
...
modules/user/user.module
View file @
750043b8
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment