diff options
author | redmatrix <git@macgirvin.com> | 2016-07-09 18:10:13 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-07-09 18:10:13 -0700 |
commit | ce5adbf51e230e6eddf8bffb26108ca216372824 (patch) | |
tree | f69ee4d689b631275ab8b4f219e0439f04ec53b4 /include/widgets.php | |
parent | e2574cf069dc29b1e8ca6bd64ee78b262206cef4 (diff) | |
download | volse-hubzilla-ce5adbf51e230e6eddf8bffb26108ca216372824.tar.gz volse-hubzilla-ce5adbf51e230e6eddf8bffb26108ca216372824.tar.bz2 volse-hubzilla-ce5adbf51e230e6eddf8bffb26108ca216372824.zip |
more sql fine tuning
Diffstat (limited to 'include/widgets.php')
-rw-r--r-- | include/widgets.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/widgets.php b/include/widgets.php index a4a6fb55a..2d4d5b799 100644 --- a/include/widgets.php +++ b/include/widgets.php @@ -296,7 +296,7 @@ function widget_filer($arr) { $selected = ((x($_REQUEST,'file')) ? $_REQUEST['file'] : ''); $terms = array(); - $r = q("select distinct(term) from term where uid = %d and ttype = %d order by term asc", + $r = q("select distinct term from term where uid = %d and ttype = %d order by term asc", intval(local_channel()), intval(TERM_FILE) ); |