Implements best_domain (Closes #1404).
[platal.git] / modules / carnet.php
index 06b3a2e..172e654 100644 (file)
@@ -373,7 +373,7 @@ class CarnetModule extends PLModule
             'timestamp' => $date,
             'date' => date('Ymd', $date),
             'tomorrow' => date('Ymd', $tomorrow),
-            'hruid' => $profile->hrid(),
+            'email' => $profile->owner()->bestEmail(),
             'summary' => 'Anniversaire de ' . $profile->fullName(true)
         );
     }