summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-09-27 21:15:14 -0400
committerEvan Prodromou <evan@status.net>2009-09-27 21:15:14 -0400
commit3afcdc18f7bfd23ac780b9f27c47582c1b41bb83 (patch)
tree289e54a747c8b67d5455e85d64045aa7dfb1d54b /scripts
parentee9856c452a7e54994c30cd9138dd6faa2107001 (diff)
parentfc2426d7ce33bba0e1ad4dfc1ed9af7749695b20 (diff)
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'scripts')
-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'.");
}