Skip to content

Commit

Permalink
add missing parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
lisps committed Feb 22, 2014
1 parent 90bee60 commit cdb5e96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/parser/xhtml.php
Expand Up @@ -788,7 +788,7 @@ function internalmedia ($src, $title=null, $align=null, $width=null,
$height=null, $cache=null, $linking=null, $return=NULL) {
global $ID;
list($src,$hash) = explode('#',$src,2);
resolve_mediaid(getNS($ID),$src, $exists,$this->date_at);
resolve_mediaid(getNS($ID),$src, $exists,$this->date_at,true);

$noLink = false;
$render = ($linking == 'linkonly') ? false : true;
Expand Down Expand Up @@ -1231,7 +1231,7 @@ function _imageTitle($img) {
// see internalmedia() and externalmedia()
list($img['src'],$hash) = explode('#',$img['src'],2);
if ($img['type'] == 'internalmedia') {
resolve_mediaid(getNS($ID),$img['src'],$exists,$this->date_at);
resolve_mediaid(getNS($ID),$img['src'],$exists,$this->date_at,true);
}

return $this->_media($img['src'],
Expand Down

0 comments on commit cdb5e96

Please sign in to comment.