1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

Merge pull request #4112 from marc1706/ticket/13180

[ticket/13180] Increase dateformat field size
This commit is contained in:
Marc Alexander
2016-01-08 16:39:03 +01:00
6 changed files with 40 additions and 5 deletions

View File

@@ -1587,7 +1587,7 @@ class acp_users
if ($submit)
{
$error = validate_data($data, array(
'dateformat' => array('string', false, 1, 30),
'dateformat' => array('string', false, 1, 64),
'lang' => array('match', false, '#^[a-z_\-]{2,}$#i'),
'tz' => array('timezone'),

View File

@@ -86,7 +86,7 @@ class ucp_prefs
}
$error = array_merge(validate_data($data, array(
'dateformat' => array('string', false, 1, 30),
'dateformat' => array('string', false, 1, 64),
'lang' => array('language_iso_name'),
'tz' => array('timezone'),
)), $error);