From: <ny...@us...> - 2008-07-04 06:56:26
|
Revision: 13432 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=13432&view=rev Author: nyloth Date: 2008-07-03 23:56:35 -0700 (Thu, 03 Jul 2008) Log Message: ----------- [FIX] self_link optional param Modified Paths: -------------- branches/1.10/lib/smarty_tiki/block.self_link.php Modified: branches/1.10/lib/smarty_tiki/block.self_link.php =================================================================== --- branches/1.10/lib/smarty_tiki/block.self_link.php 2008-07-04 06:49:38 UTC (rev 13431) +++ branches/1.10/lib/smarty_tiki/block.self_link.php 2008-07-04 06:56:35 UTC (rev 13432) @@ -28,7 +28,7 @@ * _alt : alt attribute for the icon's IMG tag (use _title if _alt is not specified). * _script : specify another script than the current one (this disable AJAX for this link when the current script is different). */ -function smarty_block_self_link($params, $content, &$smarty, $repeat) { +function smarty_block_self_link($params, $content, &$smarty, $repeat = false) { global $prefs; $default_type = 'absolute_path'; $default_icon_type = 'relative'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |