Also I have another mistake after end of lottery:
<!--
Updating user, set storeaction to offline and delete lottery and lotteryusers...
'User' is rewarded with 20 points.
'User' is pm'ed with the winner's message.
Lottery action on the store is set to offline.
Lottery and his users are deleted.
Done!
Updating user, set storeaction to offline and delete lottery and lotteryusers...
Database error in vBulletin Control Panel 2.2.8:
Invalid SQL: UPDATE user SET storep=storep+ WHERE userid='1'
mysql error: You have an error in your SQL syntax near 'WHERE userid='1'' at line 1
mysql error number: 1064
--!>
|