From: <var...@us...> - 2013-04-17 10:34:05
|
Revision: 8764 http://sourceforge.net/p/phpwiki/code/8764 Author: vargenau Date: 2013-04-17 10:34:01 +0000 (Wed, 17 Apr 2013) Log Message: ----------- return Modified Paths: -------------- trunk/lib/plugin/TeX2png.php trunk/lib/plugin/text2png.php Modified: trunk/lib/plugin/TeX2png.php =================================================================== --- trunk/lib/plugin/TeX2png.php 2013-04-17 10:06:40 UTC (rev 8763) +++ trunk/lib/plugin/TeX2png.php 2013-04-17 10:34:01 UTC (rev 8764) @@ -232,7 +232,7 @@ $link = "http://www.php.net/manual/pl/ref.image.php"; $error_html .= sprintf(_("See %s"), $link) . "."; trigger_error($error_html, E_USER_NOTICE); - return; + return HTML::p($error_html); } } } Modified: trunk/lib/plugin/text2png.php =================================================================== --- trunk/lib/plugin/text2png.php 2013-04-17 10:06:40 UTC (rev 8763) +++ trunk/lib/plugin/text2png.php 2013-04-17 10:34:01 UTC (rev 8764) @@ -83,7 +83,7 @@ $link = "http://www.php.net/manual/pl/ref.image.php"; $error_html .= sprintf(_("See %s"), $link) . "."; trigger_error($error_html, E_USER_NOTICE); - return; + return HTML::p($error_html); } } @@ -170,7 +170,7 @@ $link = "http://www.php.net/manual/en/function.imagecreate.php"; $error_html .= sprintf(_("See %s"), $link) . "."; trigger_error($error_html, E_USER_NOTICE); - return; + return HTML::p($error_html); } $rgb = $this->hexcolor($backcolor, array(255, 255, 255)); $bg_color = ImageColorAllocate($im, $rgb[0], $rgb[1], $rgb[2]); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |