PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 11.1.0
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v11.1.0
11.1.1 11.1.0 11.0.5 11.0.4 11.0.3 11.0.2 11.0.1 11.0.0 10.11.1 10.11.0 10.10.2 10.10.1 10.10.0 10.9.1 trunk 10.0.0 10.0.1 10.1.0 10.1.1 10.1.2 10.1.3 10.1.4 10.2.0 10.2.1 10.2.2 All 62 releases
← All changes | back/Controllers/Campaigns/Followup.php +4 -3 11.0.2 → 11.1.0 View file →
@@ -191,9 +191,10 @@
191 191
192 192 return;
193 193 }
194 194
195 - $favoriteTemplate = $this->config->get('favorite_template', 0);
195 + $mailClass = new MailClass();
196 + $favoriteTemplate = $mailClass->getFavoriteTemplateId();
196 197 $startFrom = empty($favoriteTemplate) ? '' : '&from='.$favoriteTemplate;
197 198 $data = [
198 199 'workflowHelper' => new WorkflowHelper(),
199 200 'followup' => $followup,
@@ -215,11 +216,11 @@
215 216 $newlyCreatedEmail = acym_getVar('int', 'newEmailId');
216 217 if (!empty($newlyCreatedEmail)) {
217 218 $numberOfSubscribers = $followupClass->getNumberSubscribersByListId($followup->list_id, true);
218 219 if (!empty($numberOfSubscribers)) {
219 - $message = '<span class="acym__followup__add_queue" data-acym-email-id="'.intval($newlyCreatedEmail).'">';
220 + $message = '<button type="button" class="acym__followup__add_queue" data-acym-email-id="'.intval($newlyCreatedEmail).'">';
220 221 $message .= acym_translationSprintf('ACYM_FOLLOWUP_ADD_QUEUE', $numberOfSubscribers);
221 - $message .= '</span>';
222 + $message .= '</button>';
222 223 acym_enqueueMessage($message, 'info', false);
223 224 }
224 225 }
225 226 }