aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-01-26 23:03:27 -0800
committerfriendica <info@friendica.com>2012-01-26 23:03:27 -0800
commit3197a6e8aaacef1fb504c90d97f291f133151429 (patch)
treed2cfbdf86c60912be8a91ec0d2d3ed6fb15c5454 /mod
parent8fe51682590c1f9badf2efc6b4f7fc1ddcc2c31e (diff)
downloadvolse-hubzilla-3197a6e8aaacef1fb504c90d97f291f133151429.tar.gz
volse-hubzilla-3197a6e8aaacef1fb504c90d97f291f133151429.tar.bz2
volse-hubzilla-3197a6e8aaacef1fb504c90d97f291f133151429.zip
fix some changes lost from another branch
Diffstat (limited to 'mod')
-rw-r--r--mod/delegate.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/delegate.php b/mod/delegate.php
index 56d11970f..c19df0681 100644
--- a/mod/delegate.php
+++ b/mod/delegate.php
@@ -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'])
);