diff --git a/src/ChurchCRM/dto/Photo.php b/src/ChurchCRM/dto/Photo.php index 5ce15016d7..39af567df7 100644 --- a/src/ChurchCRM/dto/Photo.php +++ b/src/ChurchCRM/dto/Photo.php @@ -63,6 +63,7 @@ private function shouldRefreshPhotoFile($photoFile): bool // default defined in SystemConfig.php $interval = \DateInterval::createFromDateString('72 hours'); + try { // if the system has remotes enabled, calculate the cutoff timestamp for refreshing remote photos. $remotePhotoCacheDuration = SystemConfig::getValue('iRemotePhotoCacheDuration');