8
still not working... the following lines are ok?
lines 822-829, newbb/class/post.php
le="color: #000000"><?php if(!is_object($post) || $post->getVar('post_id')==0) return false; $sql = sprintf("DELETE FROM %s WHERE post_id = %u", $this->db->prefix("bb_posts"), $post->getVar('post_id')); if (!$result = $this->db->queryF($sql)) { return false; } $this->_delete($post); // line 828 $post->deleteAttachment();
Mauricio