Skip to content

Commit

Permalink
fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
stonebuzz committed Dec 13, 2024
1 parent 3084834 commit 2211bc7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions inc/field.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -396,9 +396,7 @@ public function pre_deleteItem()
if ($this->fields['type'] === 'dropdown') {
//load all container (except current one) and check if another use this fields
$container_obj = new PluginFieldsContainer();
$all_container = $container_obj->find([
'id' => ['!=', $this->fields['plugin_fields_containers_id']]
]);
$all_container = $container_obj->find(['id' => ['!=', $this->fields['plugin_fields_containers_id']]]);

$use_by_another = false;
foreach ($all_container as $container_fields) {
Expand Down

0 comments on commit 2211bc7

Please sign in to comment.