phpcompta-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpcompta-dev] r4335 - phpcompta/trunk/html


From: phpcompta-dev
Subject: [Phpcompta-dev] r4335 - phpcompta/trunk/html
Date: Thu, 10 Nov 2011 22:28:36 +0100 (CET)

Author: danydb
Date: 2011-11-10 22:28:35 +0100 (Thu, 10 Nov 2011)
New Revision: 4335

Modified:
   phpcompta/trunk/html/show_document_modele.php
Log:
To be protected


Modified: phpcompta/trunk/html/show_document_modele.php
===================================================================
--- phpcompta/trunk/html/show_document_modele.php       2011-11-10 21:27:43 UTC 
(rev 4334)
+++ phpcompta/trunk/html/show_document_modele.php       2011-11-10 21:28:35 UTC 
(rev 4335)
@@ -38,7 +38,7 @@
 $User->Check();
 // retrieve the document
 $r=$cn->exec_sql("select md_id,md_lob,md_filename,md_mimetype
-                 from document_modele where md_id=".$_REQUEST['md_id']);
+                 from document_modele where 
md_id=$1",array($_REQUEST['md_id']));
 if ( Database::num_row($r) == 0 )
 {
     echo_error("Invalid Document");




reply via email to

[Prev in Thread] Current Thread [Next in Thread]