Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed May 13, 2015
1 parent c41c149 commit 2621441
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions framework/Image/lib/Horde/Image/Imagick.php
Expand Up @@ -696,6 +696,8 @@ public static function frameImage(&$image, $color, $width, $height)
{
// Need to jump through these hoops in order to preserve any
// transparency.
// @TODO Imagick::clone is deprecated as of 3.1.0. For H6 use the clone
// keyword instead.
try {
$border = $image->clone();
$border->borderImage(new ImagickPixel($color), $width, $height);
Expand Down

0 comments on commit 2621441

Please sign in to comment.