X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fnewapplication.php;h=8b150c315139d8c3fdb446685b05d3313c28684f;hb=3593f3f1323bfce289bc9805629f7d126dac7ae6;hp=0f819b3499881795e3ce597fd1559846875f7f15;hpb=3d0bc1a3dd16826bf89286f37aa3778e93a34b6b;p=quix0rs-gnu-social.git diff --git a/actions/newapplication.php b/actions/newapplication.php index 0f819b3499..8b150c3151 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.'));