From 3a1c78bd75213e5ed3ad5f5ed4a1349fcf7ce4d5 Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 7 Apr 2012 01:04:45 -0700 Subject: some work on tests --- include/text.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/text.php') 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'); -- cgit v1.2.3