diff options
author | friendica <info@friendica.com> | 2012-04-07 01:04:45 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-04-07 01:04:45 -0700 |
commit | 3a1c78bd75213e5ed3ad5f5ed4a1349fcf7ce4d5 (patch) | |
tree | 046f9324b3bfae14476992ad2290477097fcb088 /include | |
parent | ecabe1d505464577fdc3d3ff0090371c8ca0cf1e (diff) | |
download | volse-hubzilla-3a1c78bd75213e5ed3ad5f5ed4a1349fcf7ce4d5.tar.gz volse-hubzilla-3a1c78bd75213e5ed3ad5f5ed4a1349fcf7ce4d5.tar.bz2 volse-hubzilla-3a1c78bd75213e5ed3ad5f5ed4a1349fcf7ce4d5.zip |
some work on tests
Diffstat (limited to 'include')
-rw-r--r-- | include/text.php | 2 |
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'); |