diff options
Diffstat (limited to 'beta_accents/app/poppersonneliste.php')
-rw-r--r-- | beta_accents/app/poppersonneliste.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/beta_accents/app/poppersonneliste.php b/beta_accents/app/poppersonneliste.php index a0d60b5..af3a896 100644 --- a/beta_accents/app/poppersonneliste.php +++ b/beta_accents/app/poppersonneliste.php @@ -12,8 +12,8 @@ for($i=0;$i<mysql_num_rows($result);$i++) { $row = mysql_fetch_array($result); - echo '<option value="'.$row[0].'" onDblClick="addPers(this.form);">'; - if ($row[2] !== "" & $row[3] !== "") echo $row[2] . " " . $row[3]; else echo $row[1]; + echo '<option value="'.htmlentities($row[0], ENT_QUOTES).'" onDblClick="addPers(this.form);">'; + echo htmlentities($row[2], ENT_QUOTES) . " " . htmlentities($row[3], ENT_QUOTES);; echo '</option>'; } } |