projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes nationalities deletion.
[platal.git]
/
modules
/
xnet.php
diff --git
a/modules/xnet.php
b/modules/xnet.php
index
9ad297a
..
136382c
100644
(file)
--- a/
modules/xnet.php
+++ b/
modules/xnet.php
@@
-45,7
+45,7
@@
class XnetModule extends PLModule
}
// Retrieve the photo and its mime type.
}
// Retrieve the photo and its mime type.
- $photo = $profile->getPhoto(true);
+ $photo = $profile->getPhoto(true
, true
);
// Display the photo, or a default one when not available.
$photo->send();
// Display the photo, or a default one when not available.
$photo->send();
@@
-117,7
+117,7
@@
class XnetModule extends PLModule
XDB::execute('INSERT INTO groups (id, diminutif)
VALUES (NULL, {?})',
Post::v('diminutif'));
XDB::execute('INSERT INTO groups (id, diminutif)
VALUES (NULL, {?})',
Post::v('diminutif'));
- pl_redirect(
'../' .
Post::v('diminutif') . '/edit');
+ pl_redirect(Post::v('diminutif') . '/edit');
} else {
$page->trigError('Le diminutif demandé est déjà pris.');
}
} else {
$page->trigError('Le diminutif demandé est déjà pris.');
}