Skip to content

Commit

Permalink
FIX #31269 Bad use of GETPOSTINT (#31852)
Browse files Browse the repository at this point in the history
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
  • Loading branch information
mbinformatique68 and eldy authored Nov 15, 2024
1 parent 29ec5c7 commit bd15f8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/fichinter/card.php
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,7 @@
$res = $soc->fetch($socid);
}

if (GETPOSTINT('origin') && GETPOSTINT('originid')) {
if (GETPOST('origin') && GETPOSTINT('originid')) {
// Parse element/subelement (ex: project_task)
$regs = array();
$element = $subelement = GETPOST('origin', 'alphanohtml');
Expand Down

0 comments on commit bd15f8c

Please sign in to comment.