diff --git a/HelloAsso.Api.Samples/php/helloasso_stat.php b/HelloAsso.Api.Samples/php/helloasso_stat.php
index 93b7fed..eb65802 100644
--- a/HelloAsso.Api.Samples/php/helloasso_stat.php
+++ b/HelloAsso.Api.Samples/php/helloasso_stat.php
@@ -21,7 +21,7 @@
// Display all information from request
foreach ($json->resources as $action) {
- echo "
action de type $action->type d'un montant $action->montant effectuée le $action->date
";
+ echo "action de type $action->type d'un montant $action->amount effectuée le $action->date
";
if(count($action->custom_infos) > 0) {
echo "Liste des informations additionnelles:
";
@@ -52,7 +52,7 @@
$photoValue = $photoIndex == null ? "" : $action->custom_infos[$photoIndex]->value;
// Now display summary with only id picture
- echo "action de type $action->type d'un montant $action->montant effectuée le $action->date avec cette photo $photoValue
";
+ echo "action de type $action->type d'un montant $action->amount effectuée le $action->date avec cette photo $photoValue
";
}
}
@@ -72,4 +72,4 @@ function findIndex($array, $value) {
return null;
}
-?>
\ No newline at end of file
+?>