aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 9e0b7a1b1d..bc33f96562 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -136,7 +136,8 @@ function gen_rand_string($num_chars = 8)
*/
function unique_id($extra = 'c')
{
- global $db, $config, $dss_seeded;
+ global $config;
+ static $dss_seeded;
$val = $config['rand_seed'] . microtime();
$val = md5($val);