aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-03-09 21:10:16 -0800
committerFriendika <info@friendika.com>2011-03-09 21:10:16 -0800
commit35c3e12df53fc0584f1b5231ea6e73a177db3573 (patch)
treea03a753d14e66887537fca36d530335608a09b63 /include
parentd6e4cd9d6b57afc33242dc7121a529462c6b4b7b (diff)
downloadvolse-hubzilla-35c3e12df53fc0584f1b5231ea6e73a177db3573.tar.gz
volse-hubzilla-35c3e12df53fc0584f1b5231ea6e73a177db3573.tar.bz2
volse-hubzilla-35c3e12df53fc0584f1b5231ea6e73a177db3573.zip
ability to edit image permissions
Diffstat (limited to 'include')
-rw-r--r--include/acl_selectors.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/acl_selectors.php b/include/acl_selectors.php
index 9467531d9..fa700818f 100644
--- a/include/acl_selectors.php
+++ b/include/acl_selectors.php
@@ -10,7 +10,7 @@ function group_select($selname,$selclass,$preselected = false,$size = 4) {
$o .= "<select name=\"{$selname}[]\" id=\"$selclass\" class=\"$selclass\" multiple=\"multiple\" size=\"$size\" >\r\n";
$r = q("SELECT * FROM `group` WHERE `deleted` = 0 AND `uid` = %d ORDER BY `name` ASC",
- $_SESSION['uid']
+ intval(local_user())
);