Update card.php
This commit is contained in:
parent
d0ab117488
commit
dbde97f25f
@ -415,8 +415,8 @@ if (empty($reshook)) {
|
||||
}
|
||||
}
|
||||
|
||||
$contactid = GETPOST('contactid', 'int');
|
||||
if (!$error && $contactid >= 0) {
|
||||
if (!$error && GETPOSTISSET('contactid')) {
|
||||
$contactid = GETPOST('contactid', 'int');
|
||||
|
||||
if ($contactid > 0) {
|
||||
$contact = new Contact($db);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user