aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-07 01:04:45 -0700
committerfriendica <info@friendica.com>2012-04-07 01:04:45 -0700
commit3a1c78bd75213e5ed3ad5f5ed4a1349fcf7ce4d5 (patch)
tree046f9324b3bfae14476992ad2290477097fcb088 /include/text.php
parentecabe1d505464577fdc3d3ff0090371c8ca0cf1e (diff)
downloadvolse-hubzilla-3a1c78bd75213e5ed3ad5f5ed4a1349fcf7ce4d5.tar.gz
volse-hubzilla-3a1c78bd75213e5ed3ad5f5ed4a1349fcf7ce4d5.tar.bz2
volse-hubzilla-3a1c78bd75213e5ed3ad5f5ed4a1349fcf7ce4d5.zip
some work on tests
Diffstat (limited to 'include/text.php')
-rw-r--r--include/text.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php
index 29c781030..aced9e0a8 100644
--- a/include/text.php
+++ b/include/text.php
@@ -80,7 +80,7 @@ function escape_tags($string) {
if(! function_exists('autoname')) {
function autoname($len) {
- if(! $len)
+ if($len <= 0)
return '';
$vowels = array('a','a','ai','au','e','e','e','ee','ea','i','ie','o','ou','u');