diff --git a/core.php b/core.php index 327bc6196..0be950597 100644 --- a/core.php +++ b/core.php @@ -230,7 +230,6 @@ if (!API\Response::isAPIRequest()) { $id_record = filter('id_record'); $id_parent = filter('id_parent'); - $id_record = $id_record == $id_parent ? null : $id_record; Modules::setCurrent(filter('id_module')); Plugins::setCurrent(filter('id_plugin'));