Permalink
Browse files

Merge pull request #5 from Vinzcelavi/master

Fix error message: Strict (2048) Declaration of PhpThumbHelper::url()...
  • Loading branch information...
2 parents d2e92d7 + 9a62e28 commit 7d58341c66cb44dfaa8aa7ece5cfdbad2700317d @msadouni committed Mar 25, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 View/Helper/PhpThumbHelper.php
@@ -162,7 +162,7 @@ function generateThumbnail($image, $options) {
return $this->generate($finalOptions);
}
- function url($image, $options) {
+ function url($image = null, $options = array()) {
$thumbnail = $this->generateThumbnail($image, $options);
if (!empty($thumbnail['error'])) {
return false;

0 comments on commit 7d58341

Please sign in to comment.