Skip to content

Commit

Permalink
Fix throwing exception.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Mar 11, 2015
1 parent a1902a0 commit 3f09292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/Image/lib/Horde/Image/Imagick.php
Expand Up @@ -707,7 +707,7 @@ public function valid()
public function getImageAtIndex($index)
{
if ($index >= $this->_imagick->getNumberImages()) {
throw Horde_Image_Exception('Image index out of bounds.');
throw new Horde_Image_Exception('Image index out of bounds.');
}

$currentIndex = $this->_imagick->getIteratorIndex();
Expand Down

0 comments on commit 3f09292

Please sign in to comment.