Index: bug.php =================================================================== RCS file: /repository/pearweb/public_html/bugs/bug.php,v retrieving revision 1.33 diff -u -r1.33 bug.php --- bug.php 20 May 2004 03:16:15 -0000 1.33 +++ bug.php 7 Jun 2004 18:20:29 -0000 @@ -770,6 +770,7 @@ function delete_comment($id, $com_id) { + global $dbh; $query = 'DELETE FROM bugdb_comments WHERE bug='.(int)$id.' AND id='.(int)$com_id; $res =& $dbh->query($query); }