August 19, 2014 at 8:22 pm #3412
The setcookie time parameter takes a UNIX timestamp no a number of seconds in the future. Thus both lines 48 and 51 should be:
setcookie(‘am_force_theme_layout’, $_GET[$amts_force_param], time()+$time, $url_path);
setcookie(‘am_force_theme_layout’, $_GET[$amts_force_param], $time, $url_path);
Jeff PaetkauAugust 21, 2014 at 5:14 am #3418
Thank you so much pointing it out. I will soon send this in next release.
The topic ‘setcookie bug’ is closed to new replies.