From 0713d99a1b3f99995c58cb7f5194aa8ca380fcf2 Mon Sep 17 00:00:00 2001 From: Stefan Brannfjell Date: Sun, 2 Feb 2014 20:45:12 +0100 Subject: [PATCH] Minor fix. --- config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.php b/config.php index ced1b1f..4f8ff7f 100644 --- a/config.php +++ b/config.php @@ -33,7 +33,7 @@ - echo getClock($profile_data['lastlogin'], true); = from characterprofile, explains when user was last logged in. */ function getClock($time = false, $format = false, $adjust = true) { - if (!$time) $time = time(); + if ($time === false) $time = time(); // Date string representation $date = "d F Y (H:i)"; // 15 July 2013 (13:50) if ($adjust) $adjust = (1 * 3600); // Adjust to fit your timezone.