diff options
author | Andreas Gohr <andi@splitbrain.org> | 2014-03-08 15:51:47 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2014-03-08 15:51:47 +0100 |
commit | d27c0c1701c342ed9d6553163a71ac5cd7314a9f (patch) | |
tree | f565a5dd36cceba6abd63a74941caa719e749c5d /inc/parser | |
parent | 9b50ec5c405ff215dd0d67491752f3c56ce7749e (diff) | |
parent | 49f299d6a332f8755f3b7a20c414702cca9c5ab8 (diff) | |
download | rpg-d27c0c1701c342ed9d6553163a71ac5cd7314a9f.tar.gz rpg-d27c0c1701c342ed9d6553163a71ac5cd7314a9f.tar.bz2 |
Merge pull request #588 from splitbrain/purge_E_ALL
Purge error log messages to support use of E_ALL
Diffstat (limited to 'inc/parser')
-rw-r--r-- | inc/parser/metadata.php | 2 | ||||
-rw-r--r-- | inc/parser/renderer.php | 6 | ||||
-rw-r--r-- | inc/parser/xhtml.php | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/inc/parser/metadata.php b/inc/parser/metadata.php index 73bae190f..82a268fd6 100644 --- a/inc/parser/metadata.php +++ b/inc/parser/metadata.php @@ -299,7 +299,7 @@ class Doku_Renderer_metadata extends Doku_Renderer { // first resolve and clean up the $id resolve_pageid(getNS($ID), $id, $exists); - list($page, $hash) = explode('#', $id, 2); + @list($page, $hash) = explode('#', $id, 2); // set metadata $this->meta['relation']['references'][$page] = $exists; diff --git a/inc/parser/renderer.php b/inc/parser/renderer.php index 1f9ad00a2..e748c36d8 100644 --- a/inc/parser/renderer.php +++ b/inc/parser/renderer.php @@ -274,8 +274,8 @@ class Doku_Renderer extends DokuWiki_Plugin { function _simpleTitle($name){ global $conf; - //if there is a hash we use the ancor name only - list($name,$hash) = explode('#',$name,2); + //if there is a hash we use the anchor name only + @list($name,$hash) = explode('#',$name,2); if($hash) return $hash; if($conf['useslash']){ @@ -301,7 +301,7 @@ class Doku_Renderer extends DokuWiki_Plugin { } //split into hash and url part - list($reference,$hash) = explode('#',$reference,2); + @list($reference,$hash) = explode('#',$reference,2); //replace placeholder if(preg_match('#\{(URL|NAME|SCHEME|HOST|PORT|PATH|QUERY)\}#',$url)){ diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php index 184e62fe3..4966f103a 100644 --- a/inc/parser/xhtml.php +++ b/inc/parser/xhtml.php @@ -606,7 +606,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer { } //keep hash anchor - list($id,$hash) = explode('#',$id,2); + @list($id,$hash) = explode('#',$id,2); if(!empty($hash)) $hash = $this->_headerToLink($hash); //prepare for formating |