浏览代码

Fixes incorrect date time being returned.

Alan Lam 8 年之前
父节点
当前提交
70de38ed0e
共有 1 个文件被更改,包括 1 次插入 和 0 次删除
  1. 1 0
      engine/http.php

+ 1 - 0
engine/http.php

@@ -62,6 +62,7 @@ class HTTP {
 
 	public static function getDateTimeFromFields($prefix = "") {
 		$date = http::getDateFromFields($prefix);
+		if($date === false) return false;
 
 		if(empty($prefix)) {
 			$hour_field = "hour";