edit_record.php
changeset 57 acc4da012674
parent 47 ae140472d97c
child 65 ce1c4d5e1576
--- 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'];