summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@gmail.com>2016-02-10 09:53:00 +0000
committerPascal Terjan <pterjan@gmail.com>2016-02-10 09:53:00 +0000
commit2bafb2c73541e40643ba7bf1d477d0aa5ef1b99b (patch)
tree1b92430d387d1eefb3b82589f14f54ab77102755
parent39a7a1d8816f525b18f8f65b11837b53cd4b5974 (diff)
downloadpkgsubmit-2bafb2c73541e40643ba7bf1d477d0aa5ef1b99b.tar
pkgsubmit-2bafb2c73541e40643ba7bf1d477d0aa5ef1b99b.tar.gz
pkgsubmit-2bafb2c73541e40643ba7bf1d477d0aa5ef1b99b.tar.bz2
pkgsubmit-2bafb2c73541e40643ba7bf1d477d0aa5ef1b99b.tar.xz
pkgsubmit-2bafb2c73541e40643ba7bf1d477d0aa5ef1b99b.zip
Remove another very noisy error
-rw-r--r--lib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib.php b/lib.php
index 213d9cc..f6621a8 100644
--- a/lib.php
+++ b/lib.php
@@ -225,7 +225,7 @@ function key2timestamp($key) {
global $tz;
$date = DateTime::createFromFormat("YmdHis", $key+0, $tz);
- if ($date <= 0)
+ if ($date === false)
return null;
return $date->getTimestamp();