projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes startSessionAs.
[platal.git]
/
modules
/
xnetgrp.php
diff --git
a/modules/xnetgrp.php
b/modules/xnetgrp.php
index
3348d2c
..
de108fc
100644
(file)
--- a/
modules/xnetgrp.php
+++ b/
modules/xnetgrp.php
@@
-340,7
+340,7
@@
class XnetGrpModule extends PLModule
{
global $globals;
$vcard = new VCard($photos == 'photos', 'Membre du groupe ' . $globals->asso('nom'));
{
global $globals;
$vcard = new VCard($photos == 'photos', 'Membre du groupe ' . $globals->asso('nom'));
- $vcard->add
Users($globals->asso()->getMembers()->getUID
s());
+ $vcard->add
Profiles($globals->asso()->getMembers()->getProfile
s());
$vcard->show();
}
$vcard->show();
}
@@
-794,7
+794,6
@@
class XnetGrpModule extends PLModule
private function changeLogin(PlPage &$page, PlUser &$user, MMList &$mmlist, $login)
{
private function changeLogin(PlPage &$page, PlUser &$user, MMList &$mmlist, $login)
{
- require_once 'user.func.inc.php';
// Search the uid of the user...
$res = XDB::query("SELECT f.id, f.alias
FROM aliases AS a
// Search the uid of the user...
$res = XDB::query("SELECT f.id, f.alias
FROM aliases AS a
@@
-802,6
+801,7
@@
class XnetGrpModule extends PLModule
WHERE a.alias = {?}",
$login);
if ($res->numRows() == 0) {
WHERE a.alias = {?}",
$login);
if ($res->numRows() == 0) {
+ // TODO: replace this call to a removed function.
$x = get_not_registered_user($login);
if (!$x) {
$page->trigError("Le login $login ne correspond à aucun X.");
$x = get_not_registered_user($login);
if (!$x) {
$page->trigError("Le login $login ne correspond à aucun X.");