diff -r 6db9adfa86ac -r acc4da012674 edit_record.php --- a/edit_record.php Tue Jan 01 20:36:17 2008 +0000 +++ b/edit_record.php Tue Jan 01 22:07:00 2008 +0000 @@ -22,7 +22,7 @@ require_once("inc/toolkit.inc.php"); if (isset($_GET["delid"])) { - $db->query("DELETE FROM record_owners WHERE id='".$_GET["delid"]."'"); + delete_record_owner($_GET["domain"],$_GET["delid"],$_GET["id"]); } $xsid = (isset($_GET['id'])) ? $_GET['id'] : $_POST['recordid'];