Add custom counts to admin page

This commit is contained in:
2014-05-14 19:06:42 +10:00
parent 6e2354efe6
commit c07605ab73
5 changed files with 20 additions and 8 deletions

View File

@@ -398,7 +398,7 @@ $booking_registration_intro_text = variable_get('booking_registration_intro_text
//add a bunch of custom emails
for ($i = 1; $i <= CUSTOM_EMAIL_COUNT; $i++)
for ($i = 1; $i <= variable_get('booking_custom_email_count','5'); $i++)
{
$subject_fieldname = 'booking_email_subject_custom' . $i;
$body_fieldname = 'booking_email_custom' . $i;