@ -440,7 +440,7 @@ class Information extends CI_Controller
echo json_encode($data);
return false;
}
if ($force == 'no' && $this->InfoStructures_model->HasChild($Structure->is_id)) {
if ($force != 'yes' && $this->InfoStructures_model->HasChild($Structure->is_id)) {
$data[] = ['name' => 'no', 'value' => $this->lang->line('structures_error_haschild')];