1
0
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:
Awilum
2013-01-21 23:20:53 +02:00
parent cf1ce4b660
commit 537f1b999b

View File

@@ -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];
} }
} }