protected function updateCommunityCat(ModuleBlog_EntityBlog $oBlog) { $sql = 'UPDATE ' . Config::Get('db.table.blog') . ' SET blog_cat = ? WHERE blog_id = ?d'; if ($this->oDb->query($sql, $oBlog->getCategory(), $oBlog->getId()) !== null) { return true; } return false; }