Fixes #228 Fix file path for plaintext templates

This commit is contained in:
Mike Koch 2015-04-27 16:49:33 -04:00
parent a29fb44c5b
commit b10d4ae971

View File

@ -160,7 +160,7 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
if ($isHtml) { if ($isHtml) {
$fileWritable = is_writable(HESK_PATH.'language/'.$_GET['language'].'/emails/html/'.$_GET['template']); $fileWritable = is_writable(HESK_PATH.'language/'.$_GET['language'].'/emails/html/'.$_GET['template']);
} else { } else {
$fileWritable = is_writable(HESK_PATH.'language/'.$_GET['language'].'/emails'.$_GET['template']); $fileWritable = is_writable(HESK_PATH.'language/'.$_GET['language'].'/emails/'.$_GET['template']);
} }
if (!$fileWritable) { if (!$fileWritable) {