Marius Cramer
2014-01-22 6a7cf709e1ce42469ff61b28832905aec6a7100c
server/lib/classes/cron.d/500-backup.inc.php
@@ -72,7 +72,7 @@
            chmod(escapeshellcmd($backup_dir), $backup_dir_permissions);
         }
         $sql = "SELECT * FROM web_domain WHERE server_id = '".$conf['server_id']."' AND (type = 'vhost' OR type = 'vhostsubdomain')";
         $sql = "SELECT * FROM web_domain WHERE server_id = '".$conf['server_id']."' AND (type = 'vhost' OR type = 'vhostsubdomain') AND active = 'y'";
         $records = $app->db->queryAllRecords($sql);
         if(is_array($records)) {
            foreach($records as $rec) {