Skip to content

Commit 6d6d4ae

Browse files
authored
fix: remove history and url from notification (#98)
1 parent 11e8b44 commit 6d6d4ae

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

source/php/Submission.php

+1-16
Original file line numberDiff line numberDiff line change
@@ -608,23 +608,8 @@ public function notify($email, $formId, $submissionId, $from = null)
608608
$message .= (!empty($subvalue)) ? $subvalue . $lineBreak : '';
609609
}
610610
}
611-
} else {
612-
if ($key === 'modularity-form-history') {
613-
$message .= ($value !== null && $value !== 'null') ? '<strong>' . __(
614-
'Referrer',
615-
'modularity-form-builder'
616-
) . '</strong><br>' . $value : __(
617-
'No Referrer',
618-
'modularity-form-builder'
619-
);
620-
} else {
621-
if ($key === 'modularity-form-url') {
622-
$message .= '<strong>' . __('Form', 'modularity-form-builder') . '</strong><br>' . $value;
623-
} else {
624-
$message .= '<strong>' . $key . '</strong><br>' . $value;
625-
}
626-
}
627611
}
612+
628613
$i++;
629614
}
630615
}

0 commit comments

Comments
 (0)