From: Florent Bruneau Date: Thu, 1 Jul 2010 08:09:07 +0000 (+0200) Subject: Ugly fix for the > UNIXTIME(NULL) stuff. X-Git-Tag: xorg/1.0.1~15^2~87 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=92d3e726a6cc8fbf6b5cc873ad0a73c8dd4f6b08;p=platal.git Ugly fix for the > UNIXTIME(NULL) stuff. Signed-off-by: Florent Bruneau --- diff --git a/include/notifs.inc.php b/include/notifs.inc.php index 3e173e9..045adee 100644 --- a/include/notifs.inc.php +++ b/include/notifs.inc.php @@ -70,6 +70,7 @@ class WatchProfileUpdate extends WatchOperation public $flag = 'profile'; public $title = 'Mise$s à jour de fiche'; + private $date = null; public static function register(Profile &$profile, $field) { @@ -80,6 +81,7 @@ class WatchProfileUpdate extends WatchOperation protected function buildCondition(Watch $watch) { + $this->date = $watch->date(); return new PFC_And(new UFC_ProfileUpdated('>', $watch->date()), $watch->contactCondition()); }