summaryrefslogtreecommitdiff
path: root/scripts/createsim.php
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-09-27 12:57:25 -0400
committerCraig Andrews <candrews@integralblue.com>2009-09-27 12:57:25 -0400
commit7f3c1ac2beca8f0e21c002930a5df6dc2d9415ad (patch)
tree6988754e3ae43833b614a63fc50d0af6cbac1aae /scripts/createsim.php
parent3ff8514f5ed8dac381cf24d9de9a25dcfa20af77 (diff)
parent73c92045373d097d115d4016da092a6e0711ab04 (diff)
Merge commit 'refs/merge-requests/1633' of git://gitorious.org/statusnet/mainline into 0.9.x
Diffstat (limited to 'scripts/createsim.php')
-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'.");
}