]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fix missing variable for createsim.php
authorEvan Prodromou <evan@status.net>
Mon, 27 Jun 2011 21:29:33 +0000 (17:29 -0400)
committerEvan Prodromou <evan@status.net>
Mon, 27 Jun 2011 21:29:33 +0000 (17:29 -0400)
scripts/createsim.php

index 7435dcfeb28a89bd780d7fc7020ce0e89ebe5427..14790aa8f39467751de56409c383876cb23652be 100644 (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();