Florian Schaal
2014-01-08 f2f790184ca7c5bcf7afc6510538f02559d1c903
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) {