Remove notice
This commit is contained in:
parent
430935803b
commit
cdbbbf66f6
@ -183,7 +183,6 @@ class SurveillanceController extends Zend_Controller_Action
|
||||
|
||||
//Javascript
|
||||
$theme = Zend_Registry::get('theme');
|
||||
Zend_Registry::get('firebug')->info($theme->pathScript);
|
||||
$this->view->headScript()
|
||||
->appendFile($theme->pathScript.'/surveillance.js', 'text/javascript');
|
||||
|
||||
@ -209,12 +208,12 @@ class SurveillanceController extends Zend_Controller_Action
|
||||
$filtre->detail = false;
|
||||
|
||||
$infos = $ws->getSurveillances($filtre);
|
||||
Zend_Registry::get('firebug')->info($infos);
|
||||
|
||||
$surveillances = $infos->result->item;
|
||||
if (count($surveillances)>0) {
|
||||
if (property_exists($infos->result, 'item') && count($infos->result->item)>0) {
|
||||
$titre = 'Ajouter une surveillance';
|
||||
$texte = "L'entité est sous surveillance";
|
||||
$item = $surveillances[0];
|
||||
$item = $infos->result->item[0];
|
||||
|
||||
foreach($item->sources->item as $surv){
|
||||
$tooltipTexte = '';
|
||||
|
Loading…
Reference in New Issue
Block a user