Fixes #39 to ensure components are build even if created and modified dates are not set. Improved #37 #issuecomment-278372267 to avoid one line error in windows.
This commit is contained in:
@ -51,7 +51,7 @@ class ComponentbuilderViewCompiler extends JViewLegacy
|
||||
// Check for errors.
|
||||
if (count($errors = $this->get('Errors')))
|
||||
{
|
||||
JError::raiseError(500, implode("\n", $errors));
|
||||
JError::raiseError(500, implode(PHP_EOL, $errors));
|
||||
return false;
|
||||
}
|
||||
if ($this->getLayout() !== 'modal')
|
||||
|
Reference in New Issue
Block a user