Но вот заметил не состыковку с модом Репутации
Код: Выделить всё
##############################################################
## MOD Title: Users Reputations System v.1.0.0
## MOD Author: antongranik < anton@granik.com > (Anton Granik) http://granik.com
## MOD Description: Allows users to give reputation points to each others, earn it by posts and by "living" on forum, see the history of givings. Admin can edit users' reputations in admin cp. The whole system can be a text or a graphic version (5 different medals) and simple or advanced version (with choosing of how much reputation to give). You can get help on the system in the guide/ folder.
## MOD Version: 1.0.0
Когда жмешь редактировать, и ставишь галочку удалить из сообщения партию, выскакивает вот это:
Код: Выделить всё
Error in updating the reputations
DEBUG MODE
SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3
UPDATE slaed_users SET user_reputation = user_reputation + 0.33333333333333, user_rep_last_time = 1168410667 WHERE user_id =
Line : 156
File : functions_reputation.php
Код: Выделить всё
message_die(GENERAL_ERROR, 'Error in updating the reputations', '', __LINE__, __FILE__, $sql);