fix missing variable for createsim.php
This commit is contained in:
parent
ccca5ef62c
commit
c7608a9ddd
|
@ -118,7 +118,7 @@ function newNotice($i, $tagmax)
|
||||||
if ($in_group == 0) {
|
if ($in_group == 0) {
|
||||||
$groups = $user->getGroups();
|
$groups = $user->getGroups();
|
||||||
if ($groups->N > 0) {
|
if ($groups->N > 0) {
|
||||||
$gval = rand(0, $group->N - 1);
|
$gval = rand(0, $groups->N - 1);
|
||||||
$groups->fetch(); // go to 0th
|
$groups->fetch(); // go to 0th
|
||||||
for ($i = 0; $i < $gval; $i++) {
|
for ($i = 0; $i < $gval; $i++) {
|
||||||
$groups->fetch();
|
$groups->fetch();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user