]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/response/http/class_HttpResponse.php
Some cleanups, more usage of ObjectFactory:
[core.git] / inc / classes / main / response / http / class_HttpResponse.php
index 57a37e2f7b692b352eb5dd75f7993589793ed9d1..0378bdaffd11082d121e43a867cc91fab6e648b0 100644 (file)
@@ -79,7 +79,7 @@ class HttpResponse extends BaseResponse implements Responseable {
         * @todo        If the return statement is removed and setcookie() commented out,
         * @todo        this will send only one cookie out, the first one.
         */
-       public function addCookie ($cookieName, $cookieValue, $encrypted = false, $expires = null) {
+       public function addCookie ($cookieName, $cookieValue, $encrypted = false, $expires = NULL) {
                //* DEBUG: */ echo $cookieName.'='.$cookieValue."<br />\n";
                // Are headers already sent?
                if (headers_sent()) {