tbrehm
2012-01-25 055c217dee48773ce7d97feade9bb6001665068a
Fixed: FS#2010 - Wrong clause in MySQL query
1 files modified
2 ■■■ changed files
server/cron_daily.php 2 ●●● patch | view | raw | blame | history
server/cron_daily.php
@@ -180,7 +180,7 @@
    
    if(is_file($awstats_website_conf_file)) unlink($awstats_website_conf_file);
    
    $sql = "SELECT domain FROM web_domain WHERE (type = 'alias' OR type = 'subdomain') server_id = ".$conf['server_id'];
    $sql = "SELECT domain FROM web_domain WHERE (type = 'alias' OR type = 'subdomain') AND server_id = ".$conf['server_id'];
    $aliases = $app->db->queryAllRecords($sql);
    $aliasdomain = '';