Till Brehm
2015-12-03 1fbf0d38c82aaa4fe20ef7a7158cdcbac81e16ee
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'])){