Merge branch 'develop' of bitbucket.org:colosa/processmaker into bugfix/PMCORE-1335

This commit is contained in:
Roly Rudy Gutierrez Pinto
2020-08-31 08:51:26 -04:00
18 changed files with 473 additions and 85 deletions

View File

@@ -767,7 +767,7 @@ class Form extends XmlForm
*/
public static function createXMLFileIfNotExists($filepath)
{
if (file_exists($filepath)) {
if (file_exists($filepath) && filesize($filepath) > 0) {
return;
}
$pathParts = pathinfo($filepath);