From 51ffb04d82201cb1ad41bb6f19377b7d8c995231 Mon Sep 17 00:00:00 2001 From: smutel Date: Wed, 13 Apr 2016 20:52:32 +0200 Subject: [PATCH] Update centreonGraphTemplate.class.php --- www/class/centreonGraphTemplate.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/www/class/centreonGraphTemplate.class.php b/www/class/centreonGraphTemplate.class.php index 1cbd84d86d4..afac81c8fd8 100644 --- a/www/class/centreonGraphTemplate.class.php +++ b/www/class/centreonGraphTemplate.class.php @@ -47,6 +47,8 @@ function __construct($db) public function getObjectForSelect2($values = array(), $options = array(), $register = '1') { + $items = array(); + $explodedValues = implode(',', $values); if (empty($explodedValues)) { $explodedValues = "''";