From 51e4eb2b824718a672b48f2f3793025642869674 Mon Sep 17 00:00:00 2001 From: JohnBerlin Date: Sat, 20 Apr 2019 08:41:49 +0200 Subject: [PATCH] Correction exemple stat php --- HelloAsso.Api.Samples/php/helloasso_stat.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 +?>