summaryrefslogtreecommitdiff
path: root/actions/newapplication.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-09-20 16:43:00 -0700
committerBrion Vibber <brion@pobox.com>2010-09-20 16:43:00 -0700
commita47e66409488dac8ff3e59f97a5b0fb496ec4115 (patch)
treef29e12a800ac2013441a1935f728f5ae20b9ccb0 /actions/newapplication.php
parent24bb6feba708d68764a35a4209760be712a8221a (diff)
Fix for #2419: There is no function maxDescription in Oauth_application class (broke the 'description too long' error message when editing oauth app registrations)
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 0f819b349..8b150c315 100644
--- a/actions/newapplication.php
+++ b/actions/newapplication.php
@@ -170,7 +170,7 @@ class NewApplicationAction 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 (empty($source_url)) {
$this->showForm(_('Source URL is required.'));