From c76f8d5c99c63c9b259bfe588970fcca5389151b Mon Sep 17 00:00:00 2001 From: vargenau Date: Wed, 17 Apr 2013 10:34:01 +0000 Subject: [PATCH] return git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@8764 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- lib/plugin/TeX2png.php | 2 +- lib/plugin/text2png.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/plugin/TeX2png.php b/lib/plugin/TeX2png.php index 472ef65a3..85960ebbe 100644 --- a/lib/plugin/TeX2png.php +++ b/lib/plugin/TeX2png.php @@ -232,7 +232,7 @@ class WikiPlugin_TeX2png $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); } } } diff --git a/lib/plugin/text2png.php b/lib/plugin/text2png.php index b76dd94f0..eae9e3b3e 100644 --- a/lib/plugin/text2png.php +++ b/lib/plugin/text2png.php @@ -83,7 +83,7 @@ class WikiPlugin_text2png $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 @@ class WikiPlugin_text2png $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]); -- 2.42.0