BUG 12679 Error al crear template con nombre etiqueta SOLVED

Se agrego un filtro para crear con etiqueta existente
This commit is contained in:
Brayan Osmar Pereyra Suxo
2013-08-20 09:35:16 -04:00
parent 327d40e655
commit 1bff15da35
2 changed files with 2 additions and 2 deletions

View File

@@ -4946,7 +4946,7 @@ class Cases
G::verifyPath($pathEmail, true); //Create if it does not exist
$fileTemplate = $pathEmail . G::LoadTranslation('ID_UNASSIGNED_MESSAGE');
if (!file_exists($fileTemplate)) {
if ((!file_exists($fileTemplate)) && file_exists($fileTemplate)) {
@copy(PATH_TPL . "mails" . PATH_SEP . G::LoadTranslation('ID_UNASSIGNED_MESSAGE'), $fileTemplate);
}