Skip to content

Commit

Permalink
Fix mail body check (#618)
Browse files Browse the repository at this point in the history
  • Loading branch information
barryvdh authored Mar 12, 2024
1 parent 223a2c3 commit 0b40770
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DebugBar/Resources/widgets/mails/widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
this.$list = new PhpDebugBar.Widgets.ListWidget({ itemRenderer: function(li, mail) {
$('<span />').addClass(csscls('subject')).text(mail.subject).appendTo(li);
$('<span />').addClass(csscls('to')).text(mail.to).appendTo(li);
if (mail.html || mail.html) {
if (mail.body || mail.html) {
var header = $('<span />').addClass(csscls('filename')).text('');
$('<a title="Mail Preview">View Mail</a>').on('click', function () {
var popup = window.open('about:blank', 'Mail Preview', 'width=650,height=440,scrollbars=yes');
Expand Down

0 comments on commit 0b40770

Please sign in to comment.