X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=scripts%2Fcreatesim.php;h=1266a9700b674ca58f76551b5417eee55cac5667;hb=6a6d88f0f4641f294a5c513c6aacba604e37222f;hp=71ed3bf7227ff2feb5ce4427c183c07be44a03f4;hpb=a6d4adc398d9d2d131df97007452c5c54072ddec;p=quix0rs-gnu-social.git diff --git a/scripts/createsim.php b/scripts/createsim.php index 71ed3bf722..1266a9700b 100644 --- a/scripts/createsim.php +++ b/scripts/createsim.php @@ -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'."); }