From dbbd57c7615d5a2c706052689aabf663acaa60a8 Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Tue, 18 Feb 2014 19:00:16 +0100 Subject: [PATCH] [FIX] Wrong method call in tickerupdate --- cronjobs/tickerupdate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cronjobs/tickerupdate.php b/cronjobs/tickerupdate.php index e1198889..7d25abf5 100755 --- a/cronjobs/tickerupdate.php +++ b/cronjobs/tickerupdate.php @@ -43,7 +43,7 @@ if ($price = $tools->getPrice()) { $status = 'ERROR'; } } else { - $message = 'Failed to fetch price from API: ' . $price->getCronError(); + $message = 'Failed to fetch price from API: ' . $tools->getCronError(); $status = 'ERROR'; } $log->logInfo(sprintf($strLogMask, 'Price Update', $price, number_format(microtime(true) - $start, 3), $status, $message));