- fixed small notice;

This commit is contained in:
nikitozzzzzzz
2017-11-12 20:32:17 +02:00
parent 65a7fe304b
commit 269bd2f7bb
+1 -1
View File
@@ -275,7 +275,7 @@ if ( ! class_exists( 'Mail' ) ) {
}
}
if ( copy( $plugin_template_path, $theme_template_path ) ) {
if ( file_exists( $plugin_template_path ) && copy( $plugin_template_path, $theme_template_path ) ) {
return true;
} else {
return false;