Skip to content

Commit

Permalink
remove useless if
Browse files Browse the repository at this point in the history
to remove php-stan message
  • Loading branch information
nworr committed Dec 16, 2022
1 parent 7eb43c2 commit f05cc38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lizmap/modules/lizmap/classes/lizmapServices.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ public function sendNotificationEmail($subject, $body)
jLog::log('Notification cannot be send: no sender email nor notification email have been configured', 'warning');
} elseif (!$email) {
jLog::log('Notification cannot be send: no notification email has been configured', 'warning');
} elseif (!$sender) {
} else {
jLog::log('Notification cannot be send: no sender email has been configured', 'warning');
}
}
Expand Down

0 comments on commit f05cc38

Please sign in to comment.