projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
On redirection addition, the antispam level is either set to the user's redirection...
[platal.git]
/
modules
/
carnet.php
diff --git
a/modules/carnet.php
b/modules/carnet.php
index
4f80b49
..
172e654
100644
(file)
--- a/
modules/carnet.php
+++ b/
modules/carnet.php
@@
-373,7
+373,7
@@
class CarnetModule extends PLModule
'timestamp' => $date,
'date' => date('Ymd', $date),
'tomorrow' => date('Ymd', $tomorrow),
'timestamp' => $date,
'date' => date('Ymd', $date),
'tomorrow' => date('Ymd', $tomorrow),
- '
hruid' => $profile->hrid
(),
+ '
email' => $profile->owner()->bestEmail
(),
'summary' => 'Anniversaire de ' . $profile->fullName(true)
);
}
'summary' => 'Anniversaire de ' . $profile->fullName(true)
);
}
@@
-419,7
+419,7
@@
class CarnetModule extends PLModule
{
$pf = new ProfileFilter(new UFC_Contact(S::user()));
$vcard = new VCard($photos == 'photos');
{
$pf = new ProfileFilter(new UFC_Contact(S::user()));
$vcard = new VCard($photos == 'photos');
- $vcard->addProfiles($pf->getProfiles());
+ $vcard->addProfiles($pf->getProfiles(
null, Profile::FETCH_ALL
));
$vcard->show();
}
$vcard->show();
}