Permalink
Browse files

Fix error message: Strict (2048) Declaration of PhpThumbHelper::url()…

…... in cakePHP 2.2.2
  • Loading branch information...
1 parent d2e92d7 commit 9a62e28dd0ec474a72fd568cafa8d543f3bb72b3 @vinzcelavi vinzcelavi committed Mar 21, 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 9a62e28

Please sign in to comment.