Update src/Module/Photo.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
790875d8be
commit
0509e8f37e
|
@ -93,7 +93,7 @@ class Photo extends BaseModule
|
||||||
}
|
}
|
||||||
|
|
||||||
// Contact Id Fallback, to remove after version 2021.12
|
// Contact Id Fallback, to remove after version 2021.12
|
||||||
if (!empty($parameters['contact_id'])) {
|
if (isset($parameters['contact_id'])) {
|
||||||
$id = intval($parameters['contact_id']);
|
$id = intval($parameters['contact_id']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue