- #1571: Fixes the opening of the comments panel -GLN
* XnetEvent:
+ - #1348: Keeps the amount paid when updating participation -GLN
- #1577: Fixes alternative payements given by admins -GLN
- #1578: Fixes deletion of people inscriptions -GLN
- - #1348: Keeps the amount paid when updating participation -GLN
+ - #1583: Fixes date display in events longer than a single day -JAC
- #1603: Fixes Xnet events edition for users without profile -JAC
* XnetGrp:
}
$page->assign('archive', $archive);
- $evenements = XDB::iterator('SELECT e.*, LEFT(10, e.debut) AS first_day, LEFT(10, e.fin) AS last_day,
+ $evenements = XDB::iterator('SELECT e.*, LEFT(e.debut, 10) AS first_day, LEFT(e.fin, 10) AS last_day,
IF(e.deadline_inscription,
e.deadline_inscription >= LEFT(NOW(), 10),
1) AS inscr_open,
IF(e.deadline_inscription,
e.deadline_inscription >= LEFT(NOW(), 10),
1) AS inscr_open,
- LEFT(10, e.debut) AS start_day, LEFT(10, e.fin) AS last_day,
+ LEFT(e.debut, 10) AS first_day, LEFT(e.fin, 10) AS last_day,
LEFT(NOW(), 10) AS now,
ei.titre, e.subscription_notification
FROM group_events AS e
{
$start = strtotime($e['debut']);
$end = strtotime($e['fin']);
- $first_day = @strtotime($e['first_day']);
- $last_day = strtotime($e['last_day']);
+ $first_day = $e['first_day'];
+ $last_day = $e['last_day'];
$date = "";
if ($start && $end != $start) {