summaryrefslogtreecommitdiff
path: root/actions/editapplication.php
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-02-15 21:14:01 +0000
committerZach Copley <zach@status.net>2010-02-15 21:14:01 +0000
commit82033b3773ac0fc95236716388a02bb6d2da2cab (patch)
treef58d7a9a220035e63fa13bc36f0922c5f1c8d729 /actions/editapplication.php
parentfe2ebec732ecae97b0616cdf627cbaeaf53dab48 (diff)
parent14a7353fd5583066b154836cccf035e87310ee97 (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.php2
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;