Author: danydb
Date: 2012-01-09 14:12:40 +0100 (Mon, 09 Jan 2012)
New Revision: 4693
Modified:
phpcompta/trunk/include/class_fiche_attr.php
Log:
protect string against js
Modified: phpcompta/trunk/include/class_fiche_attr.php
===================================================================
--- phpcompta/trunk/include/class_fiche_attr.php 2012-01-09 13:11:28 UTC
(rev 4692)
+++ phpcompta/trunk/include/class_fiche_attr.php 2012-01-09 13:12:40 UTC
(rev 4693)
@@ -95,7 +95,7 @@
$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 ");
}
}
}
_______________________________________________
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev