summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <jul@.stanford.edu>2009-09-27 13:58:48 +0200
committerunknown <jul@.stanford.edu>2009-09-27 13:58:48 +0200
commit73c92045373d097d115d4016da092a6e0711ab04 (patch)
tree2473bed6d0322d1844e563ec70cc9d3a67c43111
parent131292472c4bca7e99ee821ae62853f36f4c7bef (diff)
fix for a misnamed variable in subscription function in the "create simulation data" script
-rw-r--r--scripts/createsim.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/createsim.php b/scripts/createsim.php
index 71ed3bf72..1266a9700 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'.");
}