From ff47b388b1e2b6950e6fb5f4bac01b50f65c7be9 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Fri, 7 Aug 2015 12:44:55 +0000 Subject: [PATCH] Surveillance Fichier --- application/controllers/SurveillanceController.php | 4 ++-- library/Scores/Menu.php | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/application/controllers/SurveillanceController.php b/application/controllers/SurveillanceController.php index ceaeb5c64..dce103859 100644 --- a/application/controllers/SurveillanceController.php +++ b/application/controllers/SurveillanceController.php @@ -720,7 +720,7 @@ class SurveillanceController extends Zend_Controller_Action $params->ref = $ref; $params->nomFic = ''; $response = $client->getListeFichierSurv($params); - $tabFichier = $response->item; + $tabFichier = $response->result->item; } catch (SoapFault $fault) {} $listeFichier = array(); @@ -793,7 +793,7 @@ class SurveillanceController extends Zend_Controller_Action $params->ref = $ref; $params->nomFic = $nomFic; $response = $client->getListeFichierSurv($params); - $fileUrl = $response->item[0]->UrlFichier.'.bz2'; + $fileUrl = $response->result->item[0]->UrlFichier.'.bz2'; } catch (SoapFault $fault) {} try { diff --git a/library/Scores/Menu.php b/library/Scores/Menu.php index 070956d83..1c0c05ed3 100644 --- a/library/Scores/Menu.php +++ b/library/Scores/Menu.php @@ -930,6 +930,9 @@ class Scores_Menu case 'order': return true; break; + case 'index': + return true; + break; } }