Update src/Module/Photo.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
Michael Vogel 2021-10-04 21:17:22 +02:00 committed by GitHub
parent 790875d8be
commit 0509e8f37e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,7 +93,7 @@ class Photo extends BaseModule
}
// Contact Id Fallback, to remove after version 2021.12
if (!empty($parameters['contact_id'])) {
if (isset($parameters['contact_id'])) {
$id = intval($parameters['contact_id']);
}