SQL-Injection Lücke geschlossen

This commit is contained in:
kindlm
2016-11-02 13:35:45 +01:00
parent 0008d7da08
commit 4d9e662ba9
+1 -1
View File
@@ -572,7 +572,7 @@ class organisationseinheit extends basis_db
foreach($searchItem as $value)
{
$qry.=' OR (LOWER(oe_kurzbz)=LOWER('.$this->db_add_param($value).'))
OR (LOWER(bezeichnung)=LOWER('.$this->db_add_param($value).'))';
OR (LOWER(bezeichnung) LIKE LOWER(\'%'.$this->db_escape($value).'%\'))';
}
$qry.= ' ORDER BY organisationseinheittyp_kurzbz, bezeichnung;';