mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 18:09:06 +01:00
LSio: fix isSubmit() method to handle GET or POST forms
This commit is contained in:
parent
1e284f098a
commit
f47e40a5ac
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class LSio extends LSlog_staticLoggerClass {
|
|||
* @retval boolean true if the form was posted, false otherwise
|
||||
*/
|
||||
public static function isSubmit($action) {
|
||||
if (isset($_POST['validate']) && ($_POST['validate']==$action))
|
||||
if (isset($_REQUEST['validate']) && ($_REQUEST['validate']==$action))
|
||||
return true;
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue