Global HTTP_IF_MODIFIED_SINCE undefined

From: Date: Wed, 14 Aug 2002 14:11:39 +0000
Subject: Global HTTP_IF_MODIFIED_SINCE undefined
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-5700@lists.php.net to get a copy of this message
When the global var HTTP_IF_MODIFIED_SINCE is undefined I get an error message from Smarty->fetch. I can get rid of the message if I put a '@' before the expression using the variable, but I don't know if that has any side effects. Can someone enlighten me? The changed line in Smarty is: $last_modified_date = @substr($GLOBALS['HTTP_SERVER_VARS']['HTTP_IF_MODIFIED_SINCE'], 0, strpos($GLOBALS['HTTP_SERVER_VARS']['HTTP_IF_MODIFIED_SINCE'], 'GMT') + 3); Mats-olof

Attachment: [application/x-pkcs7-signature] S/MIME Cryptographic Signature smime.p7s
« previous php.smarty.general (#5700) next »