We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit a9c6a3ba authored by Evan Prodromou's avatar Evan Prodromou

allow 0 in numeric entries in othersettings

parent 767ff2f7
......@@ -123,14 +123,14 @@ class OthersettingsAction extends AccountSettingsAction
_('URL longer than'),
($this->arg('maxurllength')) ?
(!is_null($this->arg('maxurllength'))) ?
$this->arg('maxurllength') : User_urlshortener_prefs::maxUrlLength($user),
_('URLs longer than this will be shortened.'));
_('Text longer than'),
($this->arg('maxnoticelength')) ?
(!is_null($this->arg('maxnoticelength'))) ?
$this->arg('maxnoticelength') : User_urlshortener_prefs::maxNoticeLength($user),
_('URLs in notices longer than this will be shortened.'));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment