mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- fixes for email templates save process
- fixes for multilanguage email templates;
This commit is contained in:
@@ -2579,7 +2579,9 @@ Use Only Cookies: <?php echo ini_get( 'session.use_only_cookies' ) ?
|
||||
|
||||
$theme_template_path = UM()->mail()->get_template_file( 'theme', $template );
|
||||
|
||||
UM()->mail()->copy_email_template( $template );
|
||||
if ( ! file_exists( $theme_template_path ) ) {
|
||||
UM()->mail()->copy_email_template( $template );
|
||||
}
|
||||
|
||||
$fp = fopen( $theme_template_path, "w" );
|
||||
$result = fputs( $fp, $content );
|
||||
|
||||
Reference in New Issue
Block a user