// Are we being requested to hide the specified topic? if ($hide_topic) { // Can't do anything if the board ID is empty, either.... $user = (int) $user_info['id']; if (empty($board)) continue; // Insert the row into the hide_topics table: $smcFunc['db_insert']('insert', '{db_prefix}hide_topics', array('id_member' => 'int', 'id_topic' => 'int', 'id_board' => 'int'), array($user, $topic, (int) $board), array('id_member', 'id_topic', 'id_board') ); }