Repare code to forbidden var_dump() into code

This commit is contained in:
Laurent Destailleur
2022-05-17 14:55:38 +02:00
parent 480b48e5e1
commit 4de50da0dd
59 changed files with 225 additions and 186 deletions

View File

@@ -568,10 +568,9 @@ class Documents extends DolibarrApi
{
global $db, $conf;
/*var_dump($modulepart);
var_dump($filename);
var_dump($filecontent);
exit;*/
//var_dump($modulepart);
//var_dump($filename);
//var_dump($filecontent);exit;
if (empty($modulepart)) {
throw new RestException(400, 'Modulepart not provided.');