From c7608a9ddd021f9cde2a2b9df5384acdeee9d0a1 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 27 Jun 2011 17:29:33 -0400 Subject: [PATCH] fix missing variable for createsim.php --- scripts/createsim.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/createsim.php b/scripts/createsim.php index 7435dcfeb2..14790aa8f3 100644 --- a/scripts/createsim.php +++ b/scripts/createsim.php @@ -118,7 +118,7 @@ function newNotice($i, $tagmax) if ($in_group == 0) { $groups = $user->getGroups(); if ($groups->N > 0) { - $gval = rand(0, $group->N - 1); + $gval = rand(0, $groups->N - 1); $groups->fetch(); // go to 0th for ($i = 0; $i < $gval; $i++) { $groups->fetch(); -- 2.39.5