[Fusionforge-commits] r8247 - branches/Branch_4_8/gforge/www/docman

Olivier Meunier musicoliv at libremir.placard.fr.eu.org
Wed Oct 7 16:03:48 CEST 2009


Author: musicoliv
Date: 2009-10-07 16:03:48 +0200 (Wed, 07 Oct 2009)
New Revision: 8247

Modified:
   branches/Branch_4_8/gforge/www/docman/index.php
Log:
Removed extra argument to addslashes

Modified: branches/Branch_4_8/gforge/www/docman/index.php
===================================================================
--- branches/Branch_4_8/gforge/www/docman/index.php	2009-10-06 19:37:16 UTC (rev 8246)
+++ branches/Branch_4_8/gforge/www/docman/index.php	2009-10-07 14:03:48 UTC (rev 8247)
@@ -35,7 +35,7 @@
 			if (isset($nested_docs[$dg->getID()]) && is_array($nested_docs[$dg->getID()])) {
 				foreach ($nested_docs[$dg->getID()] as $d) {
 					$docurl=util_make_url ('/docman/view.php/'.$group_id.'/'.$d->getID().'/'.urlencode($d->getFileName()));
-					$docname=addslashes($d->getName(), ENT_QUOTES)." (".htmlspecialchars($d->getFileName(), ENT_QUOTES).")";
+					$docname=addslashes($d->getName())." (".htmlspecialchars($d->getFileName(), ENT_QUOTES).")";
 					$docdesc=addslashes($d->getDescription());
 					echo ",['','".$docname."','".$docurl."','','".$docdesc."' ]";
 				}




More information about the Fusionforge-commits mailing list