Merge pull request #24794 from daraelmin/patch-2
FIX PHP 8 Warning in adherent index.php
This commit is contained in:
commit
d3eea36e35
1 changed files with 1 additions and 1 deletions
|
|
@ -53,11 +53,11 @@ $result = restrictedArea($user, 'adherent');
|
|||
* Actions
|
||||
*/
|
||||
|
||||
$userid = GETPOST('userid', 'int');
|
||||
if (GETPOST('addbox')) {
|
||||
// Add box (when submit is done from a form when ajax disabled)
|
||||
require_once DOL_DOCUMENT_ROOT.'/core/class/infobox.class.php';
|
||||
$zone = GETPOST('areacode', 'int');
|
||||
$userid = GETPOST('userid', 'int');
|
||||
$boxorder = GETPOST('boxorder', 'aZ09');
|
||||
$boxorder .= GETPOST('boxcombo', 'aZ09');
|
||||
$result = InfoBox::saveboxorder($db, $zone, $boxorder, $userid);
|
||||
|
|
|
|||
Loading…
Reference in a new issue