4images Help / Hilfe > Bug Fixes & Patches

[1.7.1] Small error in functions.php

(1/2) > >>

Scout:
I found a small error in functions.php on line 64:

--- Code: ---function check_local_thumb($remote_thumb_file) {
  return !is_remote($local_thumb_file) && strpos($local_thumb_file, '/') !== false && preg_match("#\.[gif|jpg|jpeg|png]+$#i", $local_thumb_file) ? 1 : 0;
}

--- End code ---
I suppose that function definition should look like

--- Code: ---function check_local_thumb($local_thumb_file) {

--- End code ---

V@no:
thank you!

michi-w.:
Is the bugfix also 1.7?

Gruß
michi-w.

V@no:
no

Filip3rd:
I don't even have function.php in on my server. Is this normal?

Navigation

[0] Message Index

[#] Next page

Go to full version