New Zenner
- Join Date:
- Aug 2006
- Posts:
- 1
- Plugin Contributions:
- 0
Post #1 by wmmkiv
I apologize if this is a repost.
My version of zencart is zen-cart-v1.3.0.2-full-fileset.
My question is in regards to the Auto-Activate/Auto-Expire functionality which is actioned upon each new session. The file init_special_funcs.php under /includes/init_includes/ contains the following line:
if (isset($_SESSION['updateExpirations']) && $_SESSION['updateExpirations'] === true) {
The problem is that the only time the $_SESSION['updateExpirations'] variable is set is inside this clause, thus the code will never execute and the Auto-Expire/Auto-Activate functions will never run. Is this by design or a bug?
I changed it to the following:
if (!isset($_SESSION['updateExpirations']) || $_SESSION['updateExpirations'] != true) {
Thanks,
WMMKIV