The description told that set the time period with a Strtotime syntax. The code "if ($now - $_SESSION['affiliate_cookie_timestamp'] >= $switch_after) {" not deal $switch_after which is Strtotime syntax .

I have changed to if ($now >= strtotime($switch_after, $_SESSION['affiliate_cookie_timestamp'])) and work correctly.

thanks

CommentFileSizeAuthor
#3 banner.jpg27.42 KBcharan.adodis205

Comments

bojanz’s picture

Status: Active » Fixed

Fixed in CVS.
Rolling RC2

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

charan.adodis205’s picture

StatusFileSize
new27.42 KB