FIx id_record null se uguale all'id_parent
This commit is contained in:
parent
42e27e67de
commit
2b3baceaeb
1
core.php
1
core.php
|
@ -230,7 +230,6 @@ if (!API\Response::isAPIRequest()) {
|
||||||
|
|
||||||
$id_record = filter('id_record');
|
$id_record = filter('id_record');
|
||||||
$id_parent = filter('id_parent');
|
$id_parent = filter('id_parent');
|
||||||
$id_record = $id_record == $id_parent ? null : $id_record;
|
|
||||||
|
|
||||||
Modules::setCurrent(filter('id_module'));
|
Modules::setCurrent(filter('id_module'));
|
||||||
Plugins::setCurrent(filter('id_plugin'));
|
Plugins::setCurrent(filter('id_plugin'));
|
||||||
|
|
Loading…
Reference in New Issue