protect string against js
This commit is contained in:
parent
47963e6a4c
commit
7aa40af2c5
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ class Fiche_Attr
|
|||
$this->cn->exec_sql($this->ad_extra);
|
||||
}catch (Exception $e)
|
||||
{
|
||||
throw new Exception ("La requête SQL est invalide ");
|
||||
throw new Exception ("La requête SQL ".h($this->ad_extra)." est invalide ");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue