diff --git a/public_html/deployment/classes/queryparam.class.php b/public_html/deployment/classes/queryparam.class.php
index 3379bc5b36e229d8c036bb3f09670e852044b80d..fd6b4448e9da5a6bd8da259672c8c732c154605e 100644
--- a/public_html/deployment/classes/queryparam.class.php
+++ b/public_html/deployment/classes/queryparam.class.php
@@ -9,6 +9,10 @@
  * <VALUE> matches /^[a-z]*$/
  * <code>queryparam::get('page', '/^[a-z]*$/');</code>
  * 
+ * Ideas:
+ * - add more type validation
+ * - add regex param with chars to remove eg /[^a-z]/ to keep only lowercase letters
+ * 
  * Axel <axel.hahn@unibe.ch>
  * 2024-08-29  Axel php8 only; added variable types; short array syntax
  */
@@ -82,12 +86,9 @@ class queryparam
         }
 
         // set it to POST or GET variable
-        $aScope = isset($_POST[$sVarname]) && $_POST[$sVarname]
-            ? $_POST[$sVarname]
-            : ((isset($_GET[$sVarname]) && $_GET[$sVarname])
-                ? $_GET[$sVarname]
-                : false
-            )
+        $aScope = isset($_POST[$sVarname])
+            ? $_POST
+            : $_GET
         ;
         return self::getvar($aScope, $sVarname, $sRegexMatch, $sType);