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

Commit

Permalink
fix(config): fix variable name (#6276)
Browse files Browse the repository at this point in the history
Fix incorrectly pushed variable name
  • Loading branch information
victorvassilev authored and kduret committed Jun 5, 2018
1 parent 355ac92 commit 508dee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/class/config-generate/generate.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ private function getPollerFromName($poller_name)
$stmt->bindParam(':poller_name', $poller_name, PDO::PARAM_STR);
$stmt->execute();
$result = $stmt->fetchAll(PDO::FETCH_ASSOC);
$this->current_poller = array_pop($resutl);
$this->current_poller = array_pop($result);
if (is_null($this->current_poller)) {
throw new Exception("Cannot find poller name '" . $poller_name . "'");
}
Expand Down

0 comments on commit 508dee6

Please sign in to comment.