[feladat @ 245]
Bugfix: When a record is deleted from the search screen, an error was displayed. This closes ticket:43.
--- a/delete_record.php Fri Apr 11 13:33:30 2008 +0000
+++ b/delete_record.php Wed Apr 16 17:53:40 2008 +0000
@@ -36,7 +36,8 @@
elseif (verify_permission('zone_content_edit_own')) { $perm_content_edit = "own" ; }
else { $perm_content_edit = "none" ; }
-$user_is_zone_owner = verify_user_is_owner_zoneid($_GET["domain"]);
+$zid = get_zone_id_from_record_id($_GET['id']);
+$user_is_zone_owner = verify_user_is_owner_zoneid($zid);
if ($record_id == "-1" ) {
error(ERR_INV_INPUT);