aboutsummaryrefslogtreecommitdiffstats
path: root/include/acl_selectors.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-22 18:37:39 -0800
committerfriendica <info@friendica.com>2013-12-22 18:37:39 -0800
commit1a42580ad44f768ba8d4eb0669f3b8be03670e04 (patch)
treee40948063cea08c8c0ea4ece8efbcc6bef6464d8 /include/acl_selectors.php
parenteff38538eeaa3af0774c77d26c5b00dd79cb9e8c (diff)
downloadvolse-hubzilla-1a42580ad44f768ba8d4eb0669f3b8be03670e04.tar.gz
volse-hubzilla-1a42580ad44f768ba8d4eb0669f3b8be03670e04.tar.bz2
volse-hubzilla-1a42580ad44f768ba8d4eb0669f3b8be03670e04.zip
remove a couple of mysql reserved words from being used as table or row names. For this round we're getting 'group' and 'desc'. Warning: potentially destabilising as this touches a lot of code.
Diffstat (limited to 'include/acl_selectors.php')
-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 930f9967a..749ca75eb 100644
--- a/include/acl_selectors.php
+++ b/include/acl_selectors.php
@@ -14,7 +14,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",
+ $r = q("SELECT * FROM `groups` WHERE `deleted` = 0 AND `uid` = %d ORDER BY `name` ASC",
intval(local_user())
);