Update card.php

This commit is contained in:
Laurent Destailleur 2023-01-29 20:25:42 +01:00 committed by GitHub
parent f6ad2c3a76
commit 22ffef7b4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,8 @@ $action = GETPOST('action', 'aZ09');
$confirm = GETPOST('confirm', 'alpha');
$backtopage = GETPOST('backtopage', 'alpha');
$socid = GETPOST('socid', 'int'); if ($socid < 0) {
$socid = GETPOST('socid', 'int');
if ($socid < 0) {
$socid = 0;
}