<?php
/************************************************************************
- * MXChange v0.2.1 Start: 07/24/2004 *
- * ================ Last change: 07/31/2004 *
+ * Mailer v0.2.1-FINAL Start: 07/24/2004 *
+ * =================== Last change: 07/31/2004 *
* *
* -------------------------------------------------------------------- *
* File : what-holiday.php *
$content = merge_array($content, SQL_FETCHARRAY($result2));
// Fix missing entries
- if (empty($content['timestamp'])) $content['timestamp'] = 0;
- if (empty($content['timestamp_ordered'])) $content['timestamp_ordered'] = 0;
+ if (empty($content['timestamp'])) $content['timestamp'] = '0';
+ if (empty($content['timestamp_ordered'])) $content['timestamp_ordered'] = '0';
if ((($content['timestamp'] + getConfig('holiday_lock')) > time()) || (($content['timestamp_ordered'] + getConfig('holiday_lock')) > time())) {
// Mail order is to close away!
}
// Display message and exit here
- loadTemplate('admin_settings_saved', false, sprintf(getMessage('HOLIDAY_MEMBER_ORDER'), generateDateTime($stamp, 1)));
+ loadTemplate('admin_settings_saved', false, getMaskedMessage('HOLIDAY_MEMBER_ORDER', generateDateTime($stamp, 1)));
return;
}
} // END - if