From: Evan Prodromou Date: Mon, 27 Jun 2011 21:29:33 +0000 (-0400) Subject: fix missing variable for createsim.php X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c7608a9ddd021f9cde2a2b9df5384acdeee9d0a1;p=quix0rs-gnu-social.git fix missing variable for createsim.php --- 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();