In functions_post.php, in the function "user_notification" I find:
Code: Select all
if ($mode == 'delete')
$delete_sql = (!$post_data['first_post'] && !$post_data['last_post']) ? " AND user_id = " . $userdata['user_id'] : '';
$sql = "DELETE FROM " . TOPICS_WATCH_TABLE . " WHERE topic_id = $topic_id" . $delete_sql;
message_die(GENERAL_ERROR, 'Could not change topic notify data', '', __LINE__, __FILE__, $sql);
I'm assuming the problem has to be in this block...? I only found one use of the function "user_notification" and that was is posting.php But are there other places, such as things done by mods? If so I couldn't find it...
I'm hoping for some support team input before I have to start "playing" with code myself... not having a total understanding of the logical layout of phpBB is a big limitation...
Can I get some help here?