From 9ef64d096119317c2a9a36d47c2925c1c764d683 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 31 Jul 2009 18:10:54 +0000 Subject: [PATCH] Double->single converted --- inc/classes/main/response/image/class_ImageResponse.php | 2 +- inc/classes/main/template/class_BaseTemplateEngine.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/classes/main/response/image/class_ImageResponse.php b/inc/classes/main/response/image/class_ImageResponse.php index 28c67f5f..ac46e101 100644 --- a/inc/classes/main/response/image/class_ImageResponse.php +++ b/inc/classes/main/response/image/class_ImageResponse.php @@ -197,7 +197,7 @@ class ImageResponse extends BaseResponse implements Responseable { $this->setResponseBody($content); // Set content type - $this->addHeader('Content-type', "image/".$this->getImageInstance()->getImageType()); + $this->addHeader('Content-type', 'image/' . $this->getImageInstance()->getImageType()); // Call parent method parent::flushBuffer($force); diff --git a/inc/classes/main/template/class_BaseTemplateEngine.php b/inc/classes/main/template/class_BaseTemplateEngine.php index 5a45bd71..19e06431 100644 --- a/inc/classes/main/template/class_BaseTemplateEngine.php +++ b/inc/classes/main/template/class_BaseTemplateEngine.php @@ -1050,7 +1050,7 @@ class BaseTemplateEngine extends BaseFrameworkSystem { ); // Run the constructed command. This will "compile" all variables in - @eval($eval); + eval($eval); // Goes something wrong? if ((!isset($result)) || (empty($result))) { -- 2.39.5