refactoring

This commit is contained in:
Roland Gruber 2023-10-29 21:29:43 +01:00
parent 1246125dfd
commit ccf0fa6308

View file

@ -415,8 +415,7 @@ class Ajax {
$dnList = $this->getSubDns($dn);
}
$html = $this->buildDnSelectionHtml($dnList, $dn);
$json = json_encode(['dialogData' => $html], JSON_THROW_ON_ERROR);
return $json;
return json_encode(['dialogData' => $html], JSON_THROW_ON_ERROR);
}
/**