X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fresponse%2Fimage%2Fclass_ImageResponse.php;h=dc6e5ad03e0f2a5debf4c3f7bf319d75983866f2;hp=870ce11f4b1b764848d85f1190d93fdc498d904c;hb=3107989f93cfb5808ce9d75f1c7d2b7ee3d83d18;hpb=50a2fbc1580b231e2ec9a1f471b7e25e3744a2b6 diff --git a/inc/classes/main/response/image/class_ImageResponse.php b/inc/classes/main/response/image/class_ImageResponse.php index 870ce11f..dc6e5ad0 100644 --- a/inc/classes/main/response/image/class_ImageResponse.php +++ b/inc/classes/main/response/image/class_ImageResponse.php @@ -170,7 +170,7 @@ class ImageResponse extends BaseResponse implements Responseable { $this->setResponseStatus("301 Moved Permanently"); // Clear the body - $this->setResponseBody(""); + $this->setResponseBody(''); // Flush the result $this->flushBuffer(); @@ -213,7 +213,7 @@ class ImageResponse extends BaseResponse implements Responseable { // Is the cookie there? if (isset($_COOKIE[$cookieName])) { // Then expire it with 20 minutes past - $this->addCookie($cookieName, "", false, (time() - 1200)); + $this->addCookie($cookieName, '', false, (time() - 1200)); // Remove it from array unset($_COOKIE[$cookieName]);