Commit 90ed421f authored by Jyhem's avatar Jyhem

[FIX] Avoid catastrophic error display for some sorting value

parent c3145e0e
......@@ -42,6 +42,7 @@ if (!isset($_REQUEST["sort_mode"])) {
$sort_mode = 'name_asc';
} else {
$sort_mode = $_REQUEST["sort_mode"];
$sort_mode = str_replace('created', 'o.`created`', $sort_mode);
}
if (isset($_REQUEST["find"])) {
$find = $_REQUEST["find"];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment