diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html
index d5d8b7cb25..d4d0cddd28 100644
--- a/phpBB/docs/CHANGELOG.html
+++ b/phpBB/docs/CHANGELOG.html
@@ -91,6 +91,7 @@ p,ul,td {font-size:10pt;}
[Sec] Escape any special characters in reverse dns - Anthrax101
[Sec] Typecast poll id values - Anthrax101
[Sec] Added configurable search flood control to reduce the effect of DoS style attacks
+[Sec] Changed the way we create "random" values for use as keys - chinchilla/Anthrax101
[Change] Changed handling of the case where a selected style doesn't exist in the database
[Change] Changed handling of topic pruning to improve performance
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index ceeccaeed6..46de501584 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -154,7 +154,7 @@ function dss_rand()
$val = md5($val);
$board_config['rand_seed'] = md5($board_config['rand_seed'] . $val . 'a');
- if($seeded !== true)
+ if($dss_seeded !== true)
{
$sql = "UPDATE " . CONFIG_TABLE . " SET
config_value = '" . $board_config['rand_seed'] . "'