forked from Wavyzz/dolibarr
Merge pull request #7596 from hregis/develop_bug2
Fix: wrong POST GET name
This commit is contained in:
@@ -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]));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user