Skip to content
Snippets Groups Projects
Commit 3aa047a6 authored by Maximilien Rozniecki's avatar Maximilien Rozniecki
Browse files

Merge branch '2022.5.3_rc_index_php_warning_undefined_property' into '2022.5.1'

undefined property warning in line 102 and 122 corrected

See merge request dolibarr-extension/massupdaterights!1
parents 6c8e9970 62c4dcb1
Branches 2022.5.1
No related tags found
No related merge requests found
......@@ -99,7 +99,7 @@ if ($caneditgroup) {
// Export
print '<form name="userfile" action="' . $_SERVER["PHP_SELF"] . '" METHOD="POST">';
print '<input type="hidden" name="token" value="' . $_SESSION['newtoken'] . '">';
print '<input type="hidden" name="max_file_size" value="' . $conf->maxfilesize . '">';
print '<input type="hidden" name="max_file_size" value="' . empty($conf->maxfilesize)?'':$conf->maxfilesize . '">';
print '<input type="hidden" name="action" value="export_groups">';
print '<table class="noborder" width="100%" cellspacing="0" cellpadding="4">';
......@@ -119,7 +119,7 @@ if ($caneditgroup) {
// Import
print '<form name="userfile" action="' . $_SERVER["PHP_SELF"] . '" enctype="multipart/form-data" METHOD="POST">';
print '<input type="hidden" name="token" value="' . $_SESSION['newtoken'] . '">';
print '<input type="hidden" name="max_file_size" value="' . $conf->maxfilesize . '">';
print '<input type="hidden" name="max_file_size" value="' . empty($conf->maxfilesize)?'':$conf->maxfilesize . '">';
print '<input type="hidden" name="action" value="import_groups">';
print '<table class="noborder" width="100%" cellspacing="0" cellpadding="4">';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment