mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 10:54:52 +00:00
Check to see if o is set in pagination header to fix php undefined variable error
This commit is contained in:
@@ -27,11 +27,13 @@ if (isset($_GET['o'])) {
|
||||
$o = "DESC";
|
||||
$disp = "ASC";
|
||||
}
|
||||
} else {
|
||||
} elseif(isset($o)) {
|
||||
if ($o == "ASC") {
|
||||
$disp = "DESC";
|
||||
//$o = "ASC";
|
||||
} else {
|
||||
$disp = "ASC";
|
||||
//$o = "DESC";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user