Commit 2615e90b authored by Dominik's avatar Dominik
Browse files

fixed template-style

fixed small bug in mail-backup-cron
parent 01e0759f
......@@ -52,8 +52,8 @@
</div>
</div>
<div class="ctrlHolder">
<p class="label">{tmpl_var name='backups_include_into_web_quota_txt'}</p>
<div class="multiField">
<label class="col-sm-3 control-label">{tmpl_var name='backups_include_into_web_quota_txt'}</label>
<div class="col-sm-9">
{tmpl_var name='backups_include_into_web_quota'}
</div>
</div>
......
......@@ -76,7 +76,7 @@ class cronjob_backup_mail extends cronjob {
foreach($records as $rec) {
//* Do the mailbox backup
if($rec['backup_interval'] == 'daily' or ($rec['backup_interval'] == 'weekly' && date('w') == 0) or ($rec['backup_interval'] == 'monthly' && date('d') == '01')) {
$temp = explode("@",$email);
$temp = explode("@",$rec['email']);
$domain = $temp[1];
unset($temp);;
$domain_rec=$app->db->queryOneRecord("SELECT * FROM mail_domain WHERE domain = ?", $domain);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment