소스 검색

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";