summaryrefslogtreecommitdiff
path: root/actions/newapplication.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/newapplication.php
parentfe2ebec732ecae97b0616cdf627cbaeaf53dab48 (diff)
parent14a7353fd5583066b154836cccf035e87310ee97 (diff)
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'actions/newapplication.php')
-rw-r--r--actions/newapplication.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/newapplication.php b/actions/newapplication.php
index c0c520797..0f819b349 100644
--- a/actions/newapplication.php
+++ b/actions/newapplication.php
@@ -290,7 +290,7 @@ class NewApplicationAction extends OwnerDesignAction
function nameExists($name)
{
$app = Oauth_application::staticGet('name', $name);
- return ($app !== false);
+ return !empty($app);
}
}