Ticket #373: VirtualHost.php.2.diff

File VirtualHost.php.2.diff, 0.6 KB (added by leandro@…, 14 years ago)

OOPS This is the right file, sorry

  • VirtualHost.php

     
    739739            } else { 
    740740                $_id = $db->escapeString($this->getId()); 
    741741 
    742                 if (!$db->execSqlUpdate("DELETE FROM virtual_host WHERE virtual_host_id='{$_id}'", false)) { 
     742                if (!$db->execSqlUpdate("DELETE FROM virtual_hosts WHERE virtual_host_id='{$_id}'", false)) { 
    743743                    $errmsg = _('Could not delete server!'); 
    744744                } else { 
    745745                    $retVal = true;