$startDate->setTimezone(new DateTimeZone(self::TIMEZONE));
}
- $template->assign( 'startDate', $startDate->format('Y-m-d') );
+ $template->assign('startDate', $startDate->format('Y-m-d'));
$installments = $this->_getParam('installments');
public function _getParam($field, $xmlSafe = FALSE) {
$value = CRM_Utils_Array::value($field, $this->_params, '');
if ($xmlSafe) {
- $value = str_replace(array( '&', '"', "'", '<', '>' ), '', $value);
+ $value = str_replace(array('&', '"', "'", '<', '>'), '', $value);
}
return $value;
}