diff options
author | Zach Copley <zach@status.net> | 2010-02-15 21:14:01 +0000 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-02-15 21:14:01 +0000 |
commit | 82033b3773ac0fc95236716388a02bb6d2da2cab (patch) | |
tree | f58d7a9a220035e63fa13bc36f0922c5f1c8d729 /actions/editapplication.php | |
parent | fe2ebec732ecae97b0616cdf627cbaeaf53dab48 (diff) | |
parent | 14a7353fd5583066b154836cccf035e87310ee97 (diff) |
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'actions/editapplication.php')
-rw-r--r-- | actions/editapplication.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/editapplication.php b/actions/editapplication.php index ca5dba1e4..64cf0a574 100644 --- a/actions/editapplication.php +++ b/actions/editapplication.php @@ -277,7 +277,7 @@ class EditApplicationAction extends OwnerDesignAction function nameExists($name) { $newapp = Oauth_application::staticGet('name', $name); - if (!$newapp) { + if (empty($newapp)) { return false; } else { return $newapp->id != $this->app->id; |