some work on tests

This commit is contained in:
friendica 2012-04-07 01:04:45 -07:00
parent ecabe1d505
commit 3a1c78bd75
7 changed files with 77 additions and 68 deletions

View file

@ -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');