diff --git a/src/components/widgets/background/PhotoInformation.jsx b/src/components/widgets/background/PhotoInformation.jsx
index a7e76e52..b781aa3e 100644
--- a/src/components/widgets/background/PhotoInformation.jsx
+++ b/src/components/widgets/background/PhotoInformation.jsx
@@ -36,7 +36,7 @@ export default function PhotoInformation(props) {
let photo = language.credit;
// unsplash
- if (props.info.photographerURL !== '' && !props.info.offline) {
+ if (props.info.photographerURL && props.info.photographerURL !== '' && !props.info.offline) {
photo = {language.credit};
credit = <>{photographer} {language.unsplash}>;
}