diff options
author | Georg Ehrke <developer@georgehrke.com> | 2013-12-16 15:38:12 +0100 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2013-12-16 15:38:55 +0100 |
commit | 059c3c8708c9b94df80d43ab8cac0cfc9b867cb8 (patch) | |
tree | a564d719aed8a985b6c7b1678505ca0cbacbf6b2 /lib/private/image.php | |
parent | fed63dff06be502a8dc98f565da787b983b6aa55 (diff) | |
download | nextcloud-server-059c3c8708c9b94df80d43ab8cac0cfc9b867cb8.tar.gz nextcloud-server-059c3c8708c9b94df80d43ab8cac0cfc9b867cb8.zip |
fix issue with logging non utf8 chars
Diffstat (limited to 'lib/private/image.php')
-rw-r--r-- | lib/private/image.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/image.php b/lib/private/image.php index 7761a3c7737..314a4216b82 100644 --- a/lib/private/image.php +++ b/lib/private/image.php @@ -416,7 +416,7 @@ class OC_Image { // exif_imagetype throws "read error!" if file is less than 12 byte if(!@is_file($imagePath) || !file_exists($imagePath) || filesize($imagePath) < 12 || !is_readable($imagePath)) { // Debug output disabled because this method is tried before loadFromBase64? - OC_Log::write('core', 'OC_Image->loadFromFile, couldn\'t load: '.$imagePath, OC_Log::DEBUG); + OC_Log::write('core', 'OC_Image->loadFromFile, couldn\'t load: ' . (string) $imagePath, OC_Log::DEBUG); return false; } $iType = exif_imagetype($imagePath); |