mirror of https://github.com/itflow-org/itflow
Check to see if o is set in pagination header to fix php undefined variable error
This commit is contained in:
parent
6f0017d90b
commit
bebd873d57
|
|
@ -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";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue