Browse Source

[Issue #120] FIX Heure non affichée sur consultation de dossier

Simounet 8 years ago
parent
commit
4aa74024ce
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Event.class.php

+ 1 - 1
Event.class.php

@@ -101,7 +101,7 @@ class Event extends MysqlEntity{
 	}
 
 	function setPubdate($pubdate){
-		$this->pubdate = strtotime($pubdate);
+		$this->pubdate = (is_numeric($pubdate)?$pubdate:strtotime($pubdate));
 	}
 
 	function getLink(){