[Fusionforge-commits] r11921 - trunk/src/common/docman

Franck VILLAUME nerville at libremir.placard.fr.eu.org
Wed Dec 29 19:39:59 CET 2010


Author: nerville
Date: 2010-12-29 19:39:58 +0100 (Wed, 29 Dec 2010)
New Revision: 11921

Modified:
   trunk/src/common/docman/Document.class.php
Log:
cleanup code

Modified: trunk/src/common/docman/Document.class.php
===================================================================
--- trunk/src/common/docman/Document.class.php	2010-12-29 18:07:12 UTC (rev 11920)
+++ trunk/src/common/docman/Document.class.php	2010-12-29 18:39:58 UTC (rev 11921)
@@ -404,8 +404,8 @@
 		//
 		//	Because this could be a large string, we only fetch if we actually need it
 		//
-		$res = db_query_params('SELECT data FROM doc_data WHERE docid=$1',array($this->getID()));
-		return base64_decode(db_result($res,0,'data'));
+		$res = db_query_params('SELECT data FROM doc_data WHERE docid=$1', array($this->getID()));
+		return base64_decode(db_result($res, 0, 'data'));
 	}
 
 	/**




More information about the Fusionforge-commits mailing list