Diverse SQL-Injection Lücken geschlossen

This commit is contained in:
Andreas Österreicher
2014-12-01 10:07:21 +00:00
parent 9325ebecbf
commit f670f45d2f
87 changed files with 4310 additions and 2015 deletions
+1 -23
View File
@@ -103,18 +103,6 @@ class bisverwendung extends basis_db
$this->mitarbeiter_uid = $row->mitarbeiter_uid;
$this->hauptberufcode = $row->hauptberufcode;
$this->hauptberuflich = $this->db_parse_bool($row->hauptberuflich);
/**
if($row->hauptberuflich=='t')
$this->hauptberuflich = true;
elseif($row->hauptberuflich=='f')
$this->hauptberuflich = false;
else
$this->hauptberuflich = '';
$this->habilitation = ($row->habilitation=='t'?true:false);
*/
$this->habilitation = $this->db_parse_bool($row->habilitation);
$this->beginn = $row->beginn;
$this->ende = $row->ende;
@@ -334,17 +322,7 @@ class bisverwendung extends basis_db
$obj->verwendung_code = $row->verwendung_code;
$obj->mitarbeiter_uid = $row->mitarbeiter_uid;
$obj->hauptberufcode = $row->hauptberufcode;
$obj->hauptberuflich = $this->db_parse_bool($row->hauptberuflich);
/**
if($row->hauptberuflich=='t')
$obj->hauptberuflich = true;
elseif($row->hauptberuflich=='f')
$obj->hauptberuflich = false;
else
$obj->hauptberuflich = '';
$obj->habilitation = ($row->habilitation=='t'?true:false);
**/
$obj->hauptberuflich = $this->db_parse_bool($row->hauptberuflich);
$obj->habilitation = $this->db_parse_bool($row->habilitation);
$obj->beginn = $row->beginn;
$obj->ende = $row->ende;