$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!