note 81399 deleted from function.setcookie by danbrown
| From: | danbrown@php.net | Date: | Sun, 17 May 2009 17:46:28 +0000 |
| Subject: | note 81399 deleted from function.setcookie by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-155021@lists.php.net to get a copy of this message | ||
Note Submitter: isooik at gmail-antispam dot com
----
A small bug in the function below:
Change:
.(empty($expires) ? '' : '; Max-Age='.$maxage)
into:
.(empty($maxage) ? '' : '; Max-Age='.$maxage)
Regards,
Isaak