Merge pull request #7596 from hregis/develop_bug2

Fix: wrong POST GET name
This commit is contained in:
Laurent Destailleur 2017-10-11 11:30:36 +02:00 committed by GitHub
commit eb75c2f98e

View File

@ -248,7 +248,7 @@ function dol_shutdown()
*/ */
function GETPOSTISSET($paramname) function GETPOSTISSET($paramname)
{ {
return (isset($_POST['name']) || isset($_GET['name'])); return (isset($_POST[$paramname]) || isset($_GET[$paramname]));
} }
/** /**