fix for a misnamed variable in subscription function in the "create simulation data" script
This commit is contained in:
parent
131292472c
commit
73c9204537
|
@ -101,7 +101,7 @@ function newSub($i)
|
||||||
|
|
||||||
$to = User::staticGet('nickname', $tunic);
|
$to = User::staticGet('nickname', $tunic);
|
||||||
|
|
||||||
if (empty($from)) {
|
if (empty($to)) {
|
||||||
throw new Exception("Can't find user '$tunic'.");
|
throw new Exception("Can't find user '$tunic'.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user