會發現錢一直增加...
提供一個簡單的方法先治根...
不過 還是等原作者提供更好的方法囉
打開/includes/functions_cash.php
尋找\r
代碼: 選擇全部
$sql = "UPDATE " . USERS_TABLE . "
SET " . implode(", ",$clause_sql) . "
WHERE user_id = " . $poster_id;
if ( !$db->sql_query($sql) )
{
message_die(GENERAL_ERROR, 'Error in updating cash', '', __LINE__, __FILE__, $sql);
}
break;
case 'delete':
注意 是在 case 'delete': 上方喔
替換成
代碼: 選擇全部
/*
$sql = "UPDATE " . USERS_TABLE . "
SET " . implode(", ",$clause_sql) . "
WHERE user_id = " . $poster_id;
if ( !$db->sql_query($sql) )
{
message_die(GENERAL_ERROR, 'Error in updating cash', '', __LINE__, __FILE__, $sql);
}
*/
break;
case 'delete':