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";
|
||||
$disp = "ASC";
|
||||
}
|
||||
} else {
|
||||
} elseif(isset($o)) {
|
||||
if ($o == "ASC") {
|
||||
$disp = "DESC";
|
||||
//$o = "ASC";
|
||||
} else {
|
||||
$disp = "ASC";
|
||||
//$o = "DESC";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue