Exemple #1
0
    protected function updateTopicFixedStatus(ModuleTopic_EntityTopic $oTopic)
    {
        $sql = 'UPDATE ' . Config::Get('db.table.topic') . ' 
			SET 
				topic_fixed = ?
			WHERE
				topic_id = ?d';
        if ($this->oDb->query($sql, $oTopic->getFixedStatus(), $oTopic->getId()) !== null) {
            return true;
        }
        return false;
    }