mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 09:35:00 +00:00
allow orderby to be a string not just a char
This commit is contained in:
parent
0a4d7359b2
commit
6d751b5437
|
@ -45,7 +45,7 @@ if (!is_object($folder)) {
|
|||
UI::exitError(getMLText("folder_title", array("foldername" => getMLText("invalid_folder_id"))), getMLText("invalid_folder_id"));
|
||||
}
|
||||
|
||||
if (isset($_GET["orderby"]) && strlen($_GET["orderby"])==1 ) {
|
||||
if (isset($_GET["orderby"]) && strlen($_GET["orderby"])>0 ) {
|
||||
$orderby=$_GET["orderby"];
|
||||
} else $orderby=$settings->_sortFoldersDefault;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user