edit_record.php
changeset 57 acc4da012674
parent 47 ae140472d97c
child 65 ce1c4d5e1576
equal deleted inserted replaced
56:6db9adfa86ac 57:acc4da012674
    20  */
    20  */
    21 
    21 
    22 require_once("inc/toolkit.inc.php");
    22 require_once("inc/toolkit.inc.php");
    23 
    23 
    24 if (isset($_GET["delid"])) {
    24 if (isset($_GET["delid"])) {
    25    $db->query("DELETE FROM record_owners WHERE id='".$_GET["delid"]."'");
    25    delete_record_owner($_GET["domain"],$_GET["delid"],$_GET["id"]);
    26 }
    26 }
    27 
    27 
    28 $xsid = (isset($_GET['id'])) ? $_GET['id'] : $_POST['recordid'];
    28 $xsid = (isset($_GET['id'])) ? $_GET['id'] : $_POST['recordid'];
    29 
    29 
    30 if(!xs(recid_to_domid($xsid)))
    30 if(!xs(recid_to_domid($xsid)))