1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-01-15 17:07:00 +01:00

Fix minore

This commit is contained in:
Pek5892 2024-04-08 16:29:13 +02:00
parent 477a56e953
commit 6873ec686a

View File

@ -464,7 +464,7 @@ class Query
$format = [];
$query = $options['query'];
$views = explode(',', $options['fields']);
$views = $options ? explode(',', $options['fields']) : [];
foreach ($views as $view) {
$fields[] = trim($view);
$order_by[] = '`'.trim($view).'`';