Skip to content

Commit 30b8362

Browse files
committed
fix global email settings for update details reminder
1 parent b172542 commit 30b8362

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

plugins/cc-global-network/admin/options-emails.php

+8-8
Original file line numberDiff line numberDiff line change
@@ -335,9 +335,9 @@ function ccgn_settings_emails_ask_voucher_message()
335335

336336
function ccgn_settings_emails_update_details_first_subject()
337337
{
338-
$options = get_option('ccgn-email-update-details-first');
338+
$options = get_option('ccgn-email-update-details-first-reminder');
339339
?>
340-
<input type="text" name="ccgn-email-update-details-first[subject]"
340+
<input type="text" name="ccgn-email-update-details-first-reminder[subject]"
341341
class="large-text"
342342
value="<?php echo $options['subject']; ?>" />
343343
<?php
@@ -346,19 +346,19 @@ class="large-text"
346346

347347
function ccgn_settings_emails_update_details_first_message()
348348
{
349-
$options = get_option('ccgn-email-update-details-first');
349+
$options = get_option('ccgn-email-update-details-first-reminder');
350350
?>
351-
<textarea name="ccgn-email-update-details-first[message]"
351+
<textarea name="ccgn-email-update-details-first-reminder[message]"
352352
rows="12" cols="64" class="large-text"
353353
><?php echo $options['message']; ?></textarea>
354354
<?php
355355
}
356356

357357
function ccgn_settings_emails_update_details_second_subject()
358358
{
359-
$options = get_option('ccgn-email-update-details-second');
359+
$options = get_option('ccgn-email-update-details-second-reminder');
360360
?>
361-
<input type="text" name="ccgn-email-update-details-second[subject]"
361+
<input type="text" name="ccgn-email-update-details-second-reminder[subject]"
362362
class="large-text"
363363
value="<?php echo $options['subject']; ?>" />
364364
<?php
@@ -367,9 +367,9 @@ class="large-text"
367367

368368
function ccgn_settings_emails_update_details_second_message()
369369
{
370-
$options = get_option('ccgn-email-update-details-second');
370+
$options = get_option('ccgn-email-update-details-second-reminder');
371371
?>
372-
<textarea name="ccgn-email-update-details-second[message]"
372+
<textarea name="ccgn-email-update-details-second-reminder[message]"
373373
rows="12" cols="64" class="large-text"
374374
><?php echo $options['message']; ?></textarea>
375375
<?php

0 commit comments

Comments
 (0)