Till Brehm
2014-08-13 19b5e01da02aa2115ee802cf2e43a7f3e58f4eac
interface/lib/classes/functions.inc.php
@@ -248,7 +248,7 @@
      }
      $ips = array();
      $results = $app->db->queryAllRecords("SELECT ip_address AS ip, server_id FROM server_ip WHERE ip_type = '".$type."'");
      $results = $app->db->queryAllRecords("SELECT ip_address AS ip, server_id FROM server_ip WHERE ip_type = '".$app->db->quote($type)."'");
      if(!empty($results) && is_array($results)){
         foreach($results as $result){
            if(preg_match($regex, $result['ip'])){