projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge xorg/maint into xorg/master.
[platal.git]
/
modules
/
xnetevents
/
xnetevents.inc.php
diff --git
a/modules/xnetevents/xnetevents.inc.php
b/modules/xnetevents/xnetevents.inc.php
index
608bf42
..
4f7727f
100644
(file)
--- a/
modules/xnetevents/xnetevents.inc.php
+++ b/
modules/xnetevents/xnetevents.inc.php
@@
-1,6
+1,6
@@
<?php
/***************************************************************************
<?php
/***************************************************************************
- * Copyright (C) 2003-201
1
Polytechnique.org *
+ * Copyright (C) 2003-201
3
Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-140,7
+140,7
@@
function get_event_participants(&$evt, $item_id, array $tri = array(), $limit =
$evt['topay'] = 0;
$evt['paid'] = 0;
foreach ($tab as $uid=>&$u) {
$evt['topay'] = 0;
$evt['paid'] = 0;
foreach ($tab as $uid=>&$u) {
- $u['adminpaid'] = $u['paid'];
+ $u['adminpaid'] =
(float)
$u['paid'];
$u['montant'] = 0;
if ($money && $pay_id) {
$montant = XDB::fetchOneCell('SELECT SUM(amount)
$u['montant'] = 0;
if ($money && $pay_id) {
$montant = XDB::fetchOneCell('SELECT SUM(amount)