Skip to content

Commit

Permalink
fix(MassEdit) eliminate warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
joebordes committed Aug 21, 2022
1 parent 3a73d95 commit 23915aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/Vtiger/MassEdit.php
Expand Up @@ -12,7 +12,7 @@
require_once 'Smarty_setup.php';
require_once 'include/utils/utils.php';

$excludedRecords = vtlib_purify($_REQUEST['excludedRecords']);
$excludedRecords = empty($_REQUEST['excludedRecords']) ? '' : vtlib_purify($_REQUEST['excludedRecords']);

$focus = CRMEntity::getInstance($currentModule);
$focus->mode = '';
Expand Down Expand Up @@ -46,6 +46,7 @@
$smarty->assign('UPLOADSIZE', $upload_maxsize/1000000); //Convert to MB
$smarty->assign('UPLOAD_MAXSIZE', $upload_maxsize);
$smarty->assign('MAX_FILE_SIZE', $upload_maxsize);
$smarty->assign('MOD_SEQ_ID', '');

// Field Validation Information
$tabid = getTabid($currentModule);
Expand Down

0 comments on commit 23915aa

Please sign in to comment.