summaryrefslogtreecommitdiff
path: root/actions/editapplication.php
diff options
context:
space:
mode:
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 64cf0a574..b25457069 100644
--- a/actions/editapplication.php
+++ b/actions/editapplication.php
@@ -188,7 +188,7 @@ class EditApplicationAction extends OwnerDesignAction
} elseif (Oauth_application::descriptionTooLong($description)) {
$this->showForm(sprintf(
_('Description is too long (max %d chars).'),
- Oauth_application::maxDescription()));
+ Oauth_application::maxDesc()));
return;
} elseif (mb_strlen($source_url) > 255) {
$this->showForm(_('Source URL is too long.'));