From: <var...@us...> - 2010-11-05 15:02:18
|
Revision: 7726 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7726&view=rev Author: vargenau Date: 2010-11-05 15:02:12 +0000 (Fri, 05 Nov 2010) Log Message: ----------- Use empty alt for [[Upload:image.jpg]] Modified Paths: -------------- trunk/lib/InlineParser.php Modified: trunk/lib/InlineParser.php =================================================================== --- trunk/lib/InlineParser.php 2010-11-05 14:58:10 UTC (rev 7725) +++ trunk/lib/InlineParser.php 2010-11-05 15:02:12 UTC (rev 7726) @@ -479,7 +479,7 @@ if (empty($label) and isImageLink($link)) { // if without label => inlined image [File:xx.gif] $imgurl = $intermap->link($link); - return LinkImage($imgurl->getAttr('href'), $link); + return LinkImage($imgurl->getAttr('href')); } return new Cached_InterwikiLink($link, $label); } else { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |