From f47e40a5ac12e7270b643fe58b1048b1b4d441f8 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Fri, 5 Feb 2021 18:39:24 +0100 Subject: [PATCH] LSio: fix isSubmit() method to handle GET or POST forms --- src/includes/class/class.LSio.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/includes/class/class.LSio.php b/src/includes/class/class.LSio.php index 0df01527..e1cecb29 100644 --- a/src/includes/class/class.LSio.php +++ b/src/includes/class/class.LSio.php @@ -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; }