Private GIT

Skip to content
Snippets Groups Projects
Commit c5ac4974 authored by Guillaume28's avatar Guillaume28
Browse files

fix(PDO): Missing colon for PDO

parent 3c47ab17
No related branches found
No related tags found
No related merge requests found
......@@ -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'));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment