From: Roland Häder Date: Fri, 31 Jul 2009 18:10:54 +0000 (+0000) Subject: Double->single converted X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9ef64d096119317c2a9a36d47c2925c1c764d683;p=core.git Double->single converted --- 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))) {