From c5ac49745076c813a8bd91d076c2f932a5b74c5b Mon Sep 17 00:00:00 2001 From: Guillaume28 <gbaldo@centreon.com> Date: Wed, 7 Mar 2018 14:53:47 +0100 Subject: [PATCH] fix(PDO): Missing colon for PDO --- .../Administration/brokerPerformance/brokerPerformance.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/include/Administration/brokerPerformance/brokerPerformance.php b/www/include/Administration/brokerPerformance/brokerPerformance.php index 190c70e1c0..e288a00bc2 100644 --- a/www/include/Administration/brokerPerformance/brokerPerformance.php +++ b/www/include/Administration/brokerPerformance/brokerPerformance.php @@ -254,7 +254,7 @@ $queryStatName = "SELECT config_name, cache_directory " . "AND ns_nagios_server = :id"; try { $stmt = $pearDB->prepare($queryStatName); - $stmt->bindParam(':id', $selectedPoller, PDO:PARAM_INT); + $stmt->bindParam(':id', $selectedPoller, PDO::PARAM_INT); $stmt->execute(); if (!$stmt->rowCount()) { $tpl->assign('msg_err', _('No statistics file defined for this poller')); -- GitLab