This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  50abd27d5c6ee9993fd7e23494806836888a38e6 (commit)
      from  82e08fc856f2f081c5e4da6e43eaad8c950bde08 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 50abd27d5c6ee9993fd7e23494806836888a38e6
Author: Marc-Etienne Vargenau <[email protected]>
Date:   Thu Jul 3 10:52:54 2014 +0200

    wiki: no trigger_error, display error inline

diff --git a/src/plugins/wiki/www/lib/plugin/TeX2png.php 
b/src/plugins/wiki/www/lib/plugin/TeX2png.php
index 6c07aaa..ee2d694 100644
--- a/src/plugins/wiki/www/lib/plugin/TeX2png.php
+++ b/src/plugins/wiki/www/lib/plugin/TeX2png.php
@@ -181,8 +181,7 @@ class WikiPlugin_TeX2png
                 $this->createTexFile($texfile, $text);
                 $this->createPngFile($this->imagepath, $imagename);
             } else {
-                $error_html = _("TeX imagepath not writable.");
-                trigger_error($error_html, E_USER_NOTICE);
+                return HTML::span(array('class' => 'error'), _("TeX imagepath 
not writable."));
             }
         }
 

-----------------------------------------------------------------------

Summary of changes:
 src/plugins/wiki/www/lib/plugin/TeX2png.php |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to