From 2fe3c48d327727ddb0bb245fc9e646e160fd94f6 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Thu, 15 Jan 2015 11:01:03 +1300 Subject: [PATCH] declare a few more variables properly --- CRM/Report/Form.php | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/CRM/Report/Form.php b/CRM/Report/Form.php index e2b9df741f..f8e82a243b 100644 --- a/CRM/Report/Form.php +++ b/CRM/Report/Form.php @@ -318,6 +318,21 @@ class CRM_Report_Form extends CRM_Core_Form { */ protected $_currencyColumn = NULL; + /** + * @var string + */ + protected $_interval; + + /** + * @var bool + */ + protected $_sendmail; + + /** + * @var int + */ + protected $_chartId; + /** */ public function __construct() { @@ -2911,7 +2926,7 @@ WHERE cg.extends IN ('" . implode("','", $this->_customGroupExtends) . "') AND 'openFlashChart/' . $chartImg; //Load the image $chart = imagecreatefrompng($uploadUrl); - //convert it into formattd png + //convert it into formatted png header('Content-type: image/png'); //overwrite with same image imagepng($chart, $uploadImg); -- 2.25.1