mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/13180] Increase dateformat field size
[ticket/13180] Increase dateformat field size change field size to 64 in these files add new migration file to update the database schema PHPBB3-13180
This commit is contained in:
committed by
Marc Alexander
parent
a7058d968f
commit
678ca5dcdc
@@ -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'),
|
||||
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user