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:
parent
477a56e953
commit
6873ec686a
@ -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).'`';
|
||||
|
Loading…
Reference in New Issue
Block a user