[Fusionforge-commits] r10387 - trunk/src/www/include

Franck VILLAUME nerville at libremir.placard.fr.eu.org
Thu Sep 2 11:26:53 CEST 2010


Author: nerville
Date: 2010-09-02 11:26:53 +0200 (Thu, 02 Sep 2010)
New Revision: 10387

Modified:
   trunk/src/www/include/html.php
Log:
html_image : param 3 is array() by default

Modified: trunk/src/www/include/html.php
===================================================================
--- trunk/src/www/include/html.php	2010-09-02 09:25:47 UTC (rev 10386)
+++ trunk/src/www/include/html.php	2010-09-02 09:26:53 UTC (rev 10387)
@@ -124,7 +124,7 @@
  * @param		array	Any IMG tag parameters associated with this image (i.e. 'border', 'alt', etc...)
  * @param		bool	DEPRECATED
  */
-function html_image($src,$width,$height,$args,$display=1) {
+function html_image($src,$width,$height,$args = array(),$display = 1) {
 	global $HTML;
 	$s = ((session_issecure()) ? forge_get_config('images_secure_url') : forge_get_config('images_url') );
 	return html_abs_image($s.$HTML->imgroot.$src, $width, $height, $args);




More information about the Fusionforge-commits mailing list