mirror of
https://github.com/itflow-org/itflow
synced 2026-03-16 18:54:51 +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";
|
$o = "DESC";
|
||||||
$disp = "ASC";
|
$disp = "ASC";
|
||||||
}
|
}
|
||||||
} else {
|
} elseif(isset($o)) {
|
||||||
if ($o == "ASC") {
|
if ($o == "ASC") {
|
||||||
$disp = "DESC";
|
$disp = "DESC";
|
||||||
|
//$o = "ASC";
|
||||||
} else {
|
} else {
|
||||||
$disp = "ASC";
|
$disp = "ASC";
|
||||||
|
//$o = "DESC";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user