From 2a7583ca1494880ea0ea1a25a5adfffc050281dd Mon Sep 17 00:00:00 2001 From: Lamrani Abdel Date: Wed, 15 Mar 2023 10:48:13 +0100 Subject: [PATCH] fix a problem in function --- htdocs/core/lib/modulebuilder.lib.php | 1 - 1 file changed, 1 deletion(-) diff --git a/htdocs/core/lib/modulebuilder.lib.php b/htdocs/core/lib/modulebuilder.lib.php index 5f5dd041ccb..d94f2071134 100644 --- a/htdocs/core/lib/modulebuilder.lib.php +++ b/htdocs/core/lib/modulebuilder.lib.php @@ -476,7 +476,6 @@ function rewritingAllPermissions($file, $objectname, $right, $rightUpdated, $act } if ($action == 1 && !empty($right)) { $perms_after_action = str_replace("", $right, $allContent); - var_dump($perms_after_action);exit; } dolReplaceInFile($file, array($allContent => '')); dolReplaceInFile($file, array('/* BEGIN MODULEBUILDER PERMISSIONS */' => '/* BEGIN MODULEBUILDER PERMISSIONS */'."\n".$perms_after_action));