Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
matidau committed Jul 14, 2024
1 parent ba38068 commit dad2549
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/syncobjects/syncobject.php
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,8 @@ public function Check($logAsDebug = false) {
$output = array();
foreach ($mails as $mail) {
if (! Utils::CheckEmail($mail)) {
ZLog::Write(LOGLEVEL_WARN, sprintf(" email=%s, @=%s, undiscoled-recipients=%s", $email, (strpos($email, '@') !== false), ($email === "undisclosed-recipients:;") ));

ZLog::Write(LOGLEVEL_WARN, sprintf("SyncObject->Check(): object from type %s: parameter '%s' contains an invalid email address '%s'. Address is removed.", $objClass, $v[self::STREAMER_VAR], $mail));
}
else
Expand Down

0 comments on commit dad2549

Please sign in to comment.