diff --git a/src/Model/Item.php b/src/Model/Item.php index 769a2898aa..5f1aaf3968 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -518,7 +518,7 @@ class Item public static function isValid(array $item) { // When there is no content then we don't post it - if (($item['body'] . $item['title'] == '') && !Post\Media::existsByURIId($item['uri-id'])) { + if (($item['body'] . $item['title'] == '') && (empty($item['uri-id']) || !Post\Media::existsByURIId($item['uri-id']))) { Logger::notice('No body, no title.'); return false; }