Marius Cramer
2014-02-17 441afe553839d3522f9eb6a94279d63f75744b16
server/lib/classes/cron.d/500-backup.inc.php
@@ -84,7 +84,8 @@
         }
         if($run_backups){
            $sql = "SELECT * FROM web_domain WHERE server_id = ".$conf['server_id']." AND (type = 'vhost' OR type = 'vhostsubdomain')";
            //* backup only active domains
            $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) {