Should hide pmwiki internal warnings
authorx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Wed, 18 Apr 2007 21:29:41 +0000 (21:29 +0000)
committerx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Wed, 18 Apr 2007 21:29:41 +0000 (21:29 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1718 839d8a87-29fc-0310-9880-83ba4fa771e5

include/wiki/engine.php

index 0ecc3ad..ad5d9a1 100644 (file)
@@ -80,6 +80,8 @@ if (Env::v('action') || !$cache_exists) {
     require_once($globals->spoolroot.'/wiki/pmwiki.php');
 
     $wikiAll = ob_get_clean();
+    pl_clear_errors();
+
     // the pmwiki skin we are using (almost empty) has these keywords:
     $i = strpos($wikiAll, "<!--/HeaderText-->");
     $j = strpos($wikiAll, "<!--/PageLeftFmt-->", $i);