Update card.php
This commit is contained in:
parent
d0ab117488
commit
dbde97f25f
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue