Skip to content

Commit

Permalink
Remove use of deprecated Horde::img()
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Oct 8, 2013
1 parent 053d234 commit e51c6ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/Core/lib/Horde/Core/Ui/FlagImage.php
Expand Up @@ -29,7 +29,7 @@ static public function generateFlagImageByHost($host)
return '';
}

$img = strval(Horde::img('flags/' . $data['code'] . '.png', $data['name'], array('title' => $data['name'])));
$img = Horde_Themes_Image::tag('flags/' . $data['code'] . '.png', $data['name'], array('attr' => array('title' => $data['name'])));

return $img
? $img
Expand Down

0 comments on commit e51c6ff

Please sign in to comment.