Fixes for catalog::scanall(), set subsectime to 0 instead of false

This commit is contained in:
Deon George
2020-01-03 08:21:55 +11:00
parent cf7c9317eb
commit 93364ab53a
2 changed files with 10 additions and 6 deletions

View File

@@ -215,6 +215,9 @@ class Photo extends Abstracted\Catalog
// In case of an error.
if ($this->subsectime > 32767)
$this->subsectime = 32767;
if ($this->subsectime === FALSE)
$this->subsectime = 0;
}
public function setThumbnail()