mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
Fix minore
This commit is contained in:
@@ -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).'`';
|
||||
|
||||
Reference in New Issue
Block a user