diff options
author | Brion Vibber <brion@pobox.com> | 2010-09-20 16:43:00 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-09-20 16:43:00 -0700 |
commit | a47e66409488dac8ff3e59f97a5b0fb496ec4115 (patch) | |
tree | f29e12a800ac2013441a1935f728f5ae20b9ccb0 /actions/editapplication.php | |
parent | 24bb6feba708d68764a35a4209760be712a8221a (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/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 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.')); |