Merge commit 'refs/merge-requests/1633' of git://gitorious.org/statusnet/mainline into 0.9.x
This commit is contained in:
commit
7f3c1ac2be
|
@ -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