diff options
author | Andreas Gohr <andi@splitbrain.org> | 2010-01-15 12:18:43 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2010-01-15 12:18:43 +0100 |
commit | 67f9913d4a386fe65c9e72ca452b0fa91b010b12 (patch) | |
tree | c2b6b10bb8eeae77e8340496758fb97307081d8e /inc/parser/xhtml.php | |
parent | 8c5215b744582107f352aa4ccea4182296674250 (diff) | |
download | rpg-67f9913d4a386fe65c9e72ca452b0fa91b010b12.tar.gz rpg-67f9913d4a386fe65c9e72ca452b0fa91b010b12.tar.bz2 |
removed deprecated PHP4 construct
Assigning the return value of new by reference is deprecated, PHP5's new
automatically assigns by reference
Diffstat (limited to 'inc/parser/xhtml.php')
-rw-r--r-- | inc/parser/xhtml.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php index 4ff5f18b8..20acf4281 100644 --- a/inc/parser/xhtml.php +++ b/inc/parser/xhtml.php @@ -966,7 +966,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer { }elseif($ext == 'jpg' || $ext == 'jpeg'){ //try to use the caption from IPTC/EXIF require_once(DOKU_INC.'inc/JpegMeta.php'); - $jpeg =& new JpegMeta(mediaFN($src)); + $jpeg =new JpegMeta(mediaFN($src)); if($jpeg !== false) $cap = $jpeg->getTitle(); if($cap){ $title = $this->_xmlEntities($cap); |