Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
Update www/include/views/graphs/exportData/ExportCSVServiceData.php
Browse files Browse the repository at this point in the history
Co-authored-by: Laurent Calvet <lcalvet@centreon.com>
  • Loading branch information
adr-mo and callapa authored Jun 10, 2020
1 parent 87b87c1 commit fbc54ec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ function get_error($str)
);
$stmt->bindValue(':index', $index, \PDO::PARAM_INT);
$stmt->execute();
while ($res = $stmt->fetchRow()) {
while ($row = $stmt->fetch(\PDO::FETCH_ASSOC)) {
$hName = $res["host_name"];
$sName = $res["service_description"];
}
Expand Down

0 comments on commit fbc54ec

Please sign in to comment.