mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-12 12:41:30 +00:00
set proper default value for orderdir
This commit is contained in:
parent
31fd01cc71
commit
f397558f75
|
@ -46,7 +46,7 @@ $orderby='n';
|
||||||
if (isset($_GET["orderby"]) && strlen($_GET["orderby"])==1 ) {
|
if (isset($_GET["orderby"]) && strlen($_GET["orderby"])==1 ) {
|
||||||
$orderby=$_GET["orderby"];
|
$orderby=$_GET["orderby"];
|
||||||
}
|
}
|
||||||
$orderby='asc';
|
$orderdir='asc';
|
||||||
if (!empty($_GET["orderdir"])) {
|
if (!empty($_GET["orderdir"])) {
|
||||||
$orderdir=$_GET["orderdir"];
|
$orderdir=$_GET["orderdir"];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user