From 1d48d7d217e9554d1a445a4fefb01c358cefd238 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Fri, 29 Aug 2008 13:31:33 +0000 Subject: [PATCH] define/declare randomstring as static function --- phpgwapi/inc/class.common.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.common.inc.php b/phpgwapi/inc/class.common.inc.php index 4e37ae780d..33bc6d8431 100644 --- a/phpgwapi/inc/class.common.inc.php +++ b/phpgwapi/inc/class.common.inc.php @@ -257,7 +257,7 @@ * * @param $size int-size of random string to return */ - function randomstring($size) + static function randomstring($size) { $s = ''; srand((double)microtime()*1000000);