aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-03-12 10:20:21 +0100
committerMario Vavti <mario@mariovavti.com>2015-03-12 10:20:21 +0100
commit0905180385a8eb9d6a7741322fcb9a8a0b7c5a32 (patch)
treefb32a8c0f961c1876486107661900a197a5b9ff7 /mod
parent8113ee1c4aeb2b9586c1736c38faafce53dc8e53 (diff)
parent1578c49976110c6c4c0a0dcf63ba40be4529045c (diff)
downloadvolse-hubzilla-0905180385a8eb9d6a7741322fcb9a8a0b7c5a32.tar.gz
volse-hubzilla-0905180385a8eb9d6a7741322fcb9a8a0b7c5a32.tar.bz2
volse-hubzilla-0905180385a8eb9d6a7741322fcb9a8a0b7c5a32.zip
Merge branch 'master' of https://github.com/friendica/red
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 ";