1
0

Fixes bug in serendipity_serverOffsetHour (cp. http://board.s9y.org/viewtopic.php?f=3&t=19963) and adds test case

This commit is contained in:
Matthias Gutjahr
2014-06-05 16:41:56 +02:00
parent b515c7f050
commit becf99ad1f
5 changed files with 105 additions and 1 deletions

View File

@ -62,7 +62,7 @@ function serendipity_gzCompression() {
function serendipity_serverOffsetHour($timestamp = null, $negative = false) {
global $serendipity;
if ($timestamp == null) {
if ($timestamp === null) {
$timestamp = time();
}