aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/dirsearch.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/dirsearch.php b/mod/dirsearch.php
index b4154c1eb..07621aaef 100644
--- a/mod/dirsearch.php
+++ b/mod/dirsearch.php
@@ -195,7 +195,7 @@ function dirsearch_content(&$a) {
// This will make a handful of channels whose names begin with
// punctuation un-searchable in this mode
- $safesql .= " and ascii(substr(xchan_name FROM 1 FOR 1)) > 64 ";
+ $safesql .= " and ascii(substring(xchan_name FROM 1 FOR 1)) > 64 ";
}
elseif($sort_order == 'reverse')
$order = " order by xchan_name desc ";