From 200a32b922134f986aa9833e57a6aaa636243e44 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 26 Feb 2010 12:19:33 -0500 Subject: [PATCH] don't choke on dupelimit in createsim.php --- scripts/createsim.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/createsim.php b/scripts/createsim.php index 882d744564..e0b5fc906b 100644 --- a/scripts/createsim.php +++ b/scripts/createsim.php @@ -119,6 +119,9 @@ function newSub($i) function main($usercount, $noticeavg, $subsavg, $tagmax) { + global $config; + $config['site']['dupelimit'] = -1; + $n = 1; newUser(0);