From 92d3e726a6cc8fbf6b5cc873ad0a73c8dd4f6b08 Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Thu, 1 Jul 2010 10:09:07 +0200 Subject: [PATCH] Ugly fix for the > UNIXTIME(NULL) stuff. Signed-off-by: Florent Bruneau --- include/notifs.inc.php | 2 ++ 1 file changed, 2 insertions(+) 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()); } -- 2.1.4