aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/datetime.php
diff options
context:
space:
mode:
authorNathaniel Guse <nathaniel.guse@gmail.com>2013-02-26 15:32:27 -0600
committerNathaniel Guse <nathaniel.guse@gmail.com>2013-02-26 15:32:27 -0600
commita01da0c1ee83d15e4c466a80db78fd7e9859e637 (patch)
tree651cd313ae0d225d67fb0a4f1755d7f87b2546b7 /phpBB/includes/datetime.php
parentd2295b3d1f191710916b12980e13c97419ecf0ae (diff)
parent80bd78a5e5e1069773c05073cd47662a311bda79 (diff)
downloadforums-a01da0c1ee83d15e4c466a80db78fd7e9859e637.tar
forums-a01da0c1ee83d15e4c466a80db78fd7e9859e637.tar.gz
forums-a01da0c1ee83d15e4c466a80db78fd7e9859e637.tar.bz2
forums-a01da0c1ee83d15e4c466a80db78fd7e9859e637.tar.xz
forums-a01da0c1ee83d15e4c466a80db78fd7e9859e637.zip
Merge branch 'develop' of git://github.com/phpbb/phpbb3 into ticket/11103
Conflicts: phpBB/install/database_update.php
Diffstat (limited to 'phpBB/includes/datetime.php')
-rw-r--r--phpBB/includes/datetime.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/datetime.php b/phpBB/includes/datetime.php
index b3462ddf67..3c6d4971b9 100644
--- a/phpBB/includes/datetime.php
+++ b/phpBB/includes/datetime.php
@@ -143,7 +143,7 @@ class phpbb_datetime extends DateTime
'is_short' => strpos($format, self::RELATIVE_WRAPPER) !== false,
'format_short' => substr($format, 0, strpos($format, self::RELATIVE_WRAPPER)) . self::RELATIVE_WRAPPER . self::RELATIVE_WRAPPER . substr(strrchr($format, self::RELATIVE_WRAPPER), 1),
'format_long' => str_replace(self::RELATIVE_WRAPPER, '', $format),
- 'lang' => $user->lang['datetime'],
+ 'lang' => array_filter($user->lang['datetime'], 'is_string'),
);
// Short representation of month in format? Some languages use different terms for the long and short format of May