Fixes for import

This commit is contained in:
Deon George 2020-01-05 10:50:12 +11:00
parent 9c0a02c425
commit d84412e9b1
2 changed files with 2 additions and 2 deletions

View File

@ -371,7 +371,7 @@ abstract class Catalog extends Model
*/
public function isReadable(): bool
{
return is_readable($this->filename);
return is_readable($this->file_path());
}
/**

View File

@ -172,7 +172,7 @@ class Photo extends Abstracted\Catalog
$this->software_id = $so->id;
}
public function setSubSecTime(): int
public function setSubSecTime()
{
$this->subsectime = (int)$this->property('exif:SubSecTimeOriginal');