protect string against js

This commit is contained in:
Dany De Bontridder 2012-01-09 13:12:40 +00:00
parent 47963e6a4c
commit 7aa40af2c5

View file

@ -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 ");
}
}
}