]> git.mxchange.org Git - friendica.git/commitdiff
Update src/Module/Photo.php
authorMichael Vogel <icarus@dabo.de>
Mon, 4 Oct 2021 19:17:22 +0000 (21:17 +0200)
committerGitHub <noreply@github.com>
Mon, 4 Oct 2021 19:17:22 +0000 (21:17 +0200)
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
src/Module/Photo.php

index 3b59e5b889b4210110f80ca996a34f5a5370287f..b43add0ebc3dd85f049122fcf48f1c7a49bfcd7d 100644 (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']);
                        }