aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-07-09 18:10:13 -0700
committerredmatrix <git@macgirvin.com>2016-07-09 18:10:13 -0700
commitce5adbf51e230e6eddf8bffb26108ca216372824 (patch)
treef69ee4d689b631275ab8b4f219e0439f04ec53b4
parente2574cf069dc29b1e8ca6bd64ee78b262206cef4 (diff)
downloadvolse-hubzilla-ce5adbf51e230e6eddf8bffb26108ca216372824.tar.gz
volse-hubzilla-ce5adbf51e230e6eddf8bffb26108ca216372824.tar.bz2
volse-hubzilla-ce5adbf51e230e6eddf8bffb26108ca216372824.zip
more sql fine tuning
-rw-r--r--include/widgets.php2
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)
);