Originally Posted by
kenwahl
I installed this fix and changed the Sunrise period to 1. It appears anyone that had pending points older than a day got their points added to earned. But it left those points in pending also. Thus if they had 44 point pending now they have 44 pending and 44 earned.
Thanks
Ken
Paws4Deals.com
Strange- the next line after the points transfer is:
PHP Code:
$db->Execute("UPDATE ".TABLE_REWARD_STATUS_TRACK." SET status=".STATUS_PROCESSED." WHERE status=".STATUS_PENDING." AND date<NOW()-INTERVAL ".REWARD_POINTS_SUNRISE_PERIOD." DAY;");
So any points transfer to earned should be marked as STATUS_PROCESSED. I'll try it out on my test rig in the morning.
Bookmarks