[evolvis-commits] r15656: html_image : param 3 is array() by default

mirabilos at evolvis.org mirabilos at evolvis.org
Tue Mar 1 00:23:20 CET 2011


Author: mirabilos
Date: 2011-03-01 00:23:19 +0100 (Tue, 01 Mar 2011)
New Revision: 15656

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

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/include/html.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/include/html.php	2011-02-28 23:23:17 UTC (rev 15655)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/include/html.php	2011-02-28 23:23:19 UTC (rev 15656)
@@ -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 evolvis-commits mailing list