[ticket/9348] Call phpbb_set_encoding() on config value 'default_dateformat'.

Call phpbb_set_encoding() on 'default_dateformat' to properly re-encode
non-ascii characters that might be in default_dateformat.

E.g. "d M Y à H:i"

PHPBB3-9348
This commit is contained in:
Richard Foote 2010-12-28 21:33:34 +01:00 committed by Andreas Fischer
parent c298c9d6d0
commit 90c8803d59

View file

@ -134,7 +134,7 @@ $config_schema = array(
'avatar_filesize' => 'avatar_filesize',
'avatar_max_width' => 'avatar_max_width',
'avatar_max_height' => 'avatar_max_height',
'default_dateformat' => 'default_dateformat',
'default_dateformat' => 'phpbb_set_encoding(default_dateformat)',
'board_timezone' => 'board_timezone',
'allow_privmsg' => 'not(privmsg_disable)',
'gzip_compress' => 'gzip_compress',