fix missing variable for createsim.php

This commit is contained in:
Evan Prodromou 2011-06-27 17:29:33 -04:00
parent ccca5ef62c
commit c7608a9ddd

View File

@ -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();