diff --git a/library/Grafana/ProvidedHook/Grapher.php b/library/Grafana/ProvidedHook/Grapher.php index 1d4d799..68de906 100644 --- a/library/Grafana/ProvidedHook/Grapher.php +++ b/library/Grafana/ProvidedHook/Grapher.php @@ -189,7 +189,7 @@ private function getMyPreviewHtml($serviceName, $hostName, &$previewHtml) CURLOPT_CONNECTTIMEOUT => 2, CURLOPT_RETURNTRANSFER => true, CURLOPT_SSL_VERIFYPEER => false, //TODO: config option - CURLOPT_TIMEOUT => $this-timeout, + CURLOPT_TIMEOUT => $this->timeout, CURLOPT_USERPWD => "$this->auth", CURLOPT_HTTPAUTH, CURLAUTH_ANY );