Arreglod de sentencia if

This commit is contained in:
Brayan Osmar Pereyra Suxo
2013-08-21 10:53:36 -04:00
parent a11b8f2da6
commit ad5d438a4c

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)) && file_exists($fileTemplate)) {
if ((!file_exists($fileTemplate)) && file_exists(PATH_TPL . "mails" . PATH_SEP . G::LoadTranslation('ID_UNASSIGNED_MESSAGE'))) {
@copy(PATH_TPL . "mails" . PATH_SEP . G::LoadTranslation('ID_UNASSIGNED_MESSAGE'), $fileTemplate);
}