summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/createsim.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/createsim.php b/scripts/createsim.php
index eb97a624d..71827ba5b 100644
--- a/scripts/createsim.php
+++ b/scripts/createsim.php
@@ -135,7 +135,7 @@ function main($usercount, $noticeavg, $subsavg, $tagmax)
$usercount = (have_option('u', 'users')) ? get_option_value('u', 'users') : 100;
$noticeavg = (have_option('n', 'notices')) ? get_option_value('n', 'notices') : 100;
-$subsavg = (have_option('b', 'subscriptions')) ? get_option_value('b', 'subscriptions') : min($usercount/20, 10);
+$subsavg = (have_option('b', 'subscriptions')) ? get_option_value('b', 'subscriptions') : max($usercount/20, 10);
$tagmax = (have_option('t', 'tags')) ? get_option_value('t', 'tags') : 10000;
$userprefix = (have_option('x', 'prefix')) ? get_option_value('x', 'prefix') : 'testuser';