]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fix for a misnamed variable in subscription function in the "create simulation data...
authorunknown <jul@.stanford.edu>
Sun, 27 Sep 2009 11:58:48 +0000 (13:58 +0200)
committerunknown <jul@.stanford.edu>
Sun, 27 Sep 2009 11:58:48 +0000 (13:58 +0200)
scripts/createsim.php

index 71ed3bf7227ff2feb5ce4427c183c07be44a03f4..1266a9700b674ca58f76551b5417eee55cac5667 100644 (file)
@@ -101,7 +101,7 @@ function newSub($i)
 
     $to = User::staticGet('nickname', $tunic);
 
-    if (empty($from)) {
+    if (empty($to)) {
         throw new Exception("Can't find user '$tunic'.");
     }