Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…... in cakePHP 2.2.2
  • Loading branch information...
commit 9a62e28dd0ec474a72fd568cafa8d543f3bb72b3 1 parent d2e92d7
@vinzcelavi vinzcelavi authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  View/Helper/PhpThumbHelper.php
View
2  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;
Please sign in to comment.
Something went wrong with that request. Please try again.