Device: Samsung Tablet S3
google chrome 73.0.3683.90
Android 8.0.0 SM-T825 Build/R16Nw
set as not "Desktop site"
in a xxx_view form, the email message status does not render correctly on the tablet
the text from the existing code: - displays exactly like it is shown in the return() statement:
// Check email sent status
if ($emailSent) {
// Update email sent count
$_SESSION[EXPORT_EMAIL_COUNTER]++;
// Sent email success
return "<p class=\"text-success\">" . $Language->phrase("SendEmailSuccess") . "</p>"; // Set up success message
} else {
// Sent email failure
return "<p class=\"text-danger\">" . $email->SendErrDescription . "</p>";
}
changing to this renders the code correctly:
// Check email sent status
if ($emailSent) {
// Update email sent count
$_SESSION[EXPORT_EMAIL_COUNTER]++;
// Sent email success
return ($Language->phrase("SendEmailSuccess")); // Set up success message
} else {
// Sent email failure
return ($email->SendErrDescription);
}
replace
return "<p class=\"text-success\">" . $Language->phrase("SendEmailSuccess") . "</p>"; // Set up success message
with
return ($Language->phrase("SendEmailSuccess"))"; // Set up success message
this was also inherent to previous versions of phpMaker