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:
@ -62,7 +62,7 @@ function serendipity_gzCompression() {
|
||||
function serendipity_serverOffsetHour($timestamp = null, $negative = false) {
|
||||
global $serendipity;
|
||||
|
||||
if ($timestamp == null) {
|
||||
if ($timestamp === null) {
|
||||
$timestamp = time();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user