Update Photo.php

This commit is contained in:
Richard Steinbrück 2016-06-11 17:40:47 +02:00 committed by GitHub
parent 75b11acab3
commit aec2596f85

View File

@ -208,7 +208,7 @@ final class Photo {
$info = $this->getInfo($path);
// Use title of file if IPTC title missing
if ($info['title']==='') $info['title'] = substr(basename($file['name'], $extension), 0, 30);
if ($info['title']==='') $info['title'] = substr(basename($file['name'], $extension), 0, 100);
if ($exists===false) {