Added Service Add, some internal consistency updates

This commit is contained in:
Deon George
2013-11-27 11:22:20 +11:00
parent c18d5a3881
commit 0ed5e5163d
29 changed files with 372 additions and 179 deletions

View File

@@ -68,7 +68,7 @@ class Config extends Kohana_Config {
* Show a date using a site configured format
*/
public static function date($date) {
return is_null($date) ? '' : date(Company::instance()->date_format(),$date);
return (is_null($date) OR ! $date) ? '' : date(Company::instance()->date_format(),$date);
}
/**