diff --git a/pandora_console/include/class/TreeService.class.php b/pandora_console/include/class/TreeService.class.php
index 2316714031..ffa542d995 100644
--- a/pandora_console/include/class/TreeService.class.php
+++ b/pandora_console/include/class/TreeService.class.php
@@ -104,7 +104,7 @@ class TreeService extends Tree
break;
case SERVICE_STATUS_WARNING:
- $processed_items[$row['id']][$key]['statusImageHTML'] = '';
+ $processed_items[$row['id']]['statusImageHTML'] = '';
break;
case SERVICE_STATUS_UNKNOWN: