X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fnotifs.inc.php;h=045adee37fc7aafdfad7e5f484e8f691a089bdba;hb=03bda5524bd16c5c160a314d42baefe0b3254c62;hp=3e173e9254c7abd83f3fff5923558a8c1246bf5c;hpb=e6957dafee1297718de163811e14cbafedae2cc0;p=platal.git 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()); }