mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-11 07:34:36 +02:00
XMLDB: Table Class - fix select method. Thanks to DmitriyMX
This commit is contained in:
@@ -546,7 +546,7 @@ class Table
|
|||||||
if ($order_by == 'id') {
|
if ($order_by == 'id') {
|
||||||
$records[$count]['sort'] = (int) $vars['id'];
|
$records[$count]['sort'] = (int) $vars['id'];
|
||||||
} else {
|
} else {
|
||||||
$records[$count]['sort'] = (string) $value;
|
$records[$count]['sort'] = (string)$vars[$order_by];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user