fixed a problem where the checks for submission storage would incorrectly
detect a MYSQL storage error when the submission was good. This only
happened when the exact same submission data was already stored.
Minor cleanup with event attendees export.
if ($submitAddr != '') {
$subjectLine = $this->generateHTML($viewData, $regMisc['submission_notify_subject'], true);
- $emailMsg = $this->generateHTML($viewData, nl2br($regMisc['submission_notify_text']), true)."\n\n".$summary;
+ $emailMsg = $this->generateHTML($viewData, nl2br($regMisc['submission_notify_text']), true);
// If front debug is on and this is a test submission output message to screen rather than send.
if (GLM_MEMBERS_PLUGIN_FRONT_DEBUG) {
) > 0
";
} else {
+ // In case script doesn't catch not having any set
die('ERROR: No status selected');
}
);
// Check if not properly stored ..... Send E-Mail to developers
- if ($updated != 1) {
+ if ($updated === false) {
$err = array(
'Site' => $this->config['settings']['reg_org_name'],
'requestId' => $requestId,