@@ -427,7 +427,7 @@ public function getPostGet($index = null, $filter = null, $flags = null)
427427 // Use $_POST directly here, since filter_has_var only
428428 // checks the initial POST data, not anything that might
429429 // have been added since.
430- return isset ($ _POST [$ index ]) ? $ this ->getPost ($ index , $ filter , $ flags ) : $ this ->getGet ($ index , $ filter , $ flags );
430+ return isset ($ _POST [$ index ]) ? $ this ->getPost ($ index , $ filter , $ flags ) : ( isset ( $ _GET [ $ index ]) ? $ this ->getGet ($ index , $ filter , $ flags) : $ this -> getPost () );
431431 }
432432
433433 //--------------------------------------------------------------------
@@ -446,7 +446,7 @@ public function getGetPost($index = null, $filter = null, $flags = null)
446446 // Use $_GET directly here, since filter_has_var only
447447 // checks the initial GET data, not anything that might
448448 // have been added since.
449- return isset ($ _GET [$ index ]) ? $ this ->getGet ($ index , $ filter , $ flags ) : $ this ->getPost ($ index , $ filter , $ flags );
449+ return isset ($ _GET [$ index ]) ? $ this ->getGet ($ index , $ filter , $ flags ) : ( isset ( $ _POST [ $ index ]) ? $ this ->getPost ($ index , $ filter , $ flags) : $ this -> getGet () );
450450 }
451451
452452 //--------------------------------------------------------------------
0 commit comments