fix some changes lost from another branch
This commit is contained in:
parent
8fe5168259
commit
3197a6e8aa
3 changed files with 10 additions and 8 deletions
|
@ -54,8 +54,7 @@ function delegate_content(&$a) {
|
|||
|
||||
// These people can manage this account/page with full privilege
|
||||
|
||||
$r = q("SELECT * FROM `user` WHERE `uid` = %d AND `email` = '%s' AND `password` = '%s' LIMIT 1",
|
||||
intval(local_user()),
|
||||
$r = q("SELECT * FROM `user` WHERE `email` = '%s' AND `password` = '%s' ",
|
||||
dbesc($a->user['email']),
|
||||
dbesc($a->user['password'])
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue