/trunk/jrest/services/Utilisateur.php |
---|
310,7 → 310,7 |
*/ |
public function getDateDerniereModifProfil($id, $timestamp=false) { |
$date = $this->getAnnuaire()->obtenirDateDerniereModificationProfil($this->idAnnuaire, $id); |
if ($timestamp === true && date !== null) { |
if (($timestamp === true) && ($date !== null)) { |
// normalement, strtotime accepte le format "yyyy-mm-dd hh:ii:ss" |
$date = strtotime($date); |
} |