Prevent "No post-content stored"

This commit is contained in:
Michael 2021-01-31 12:26:25 +00:00
parent 56a77f5275
commit 998f127cb8
2 changed files with 2 additions and 8 deletions

View file

@ -44,10 +44,6 @@ class Content
throw new BadMethodCallException('Empty URI_id');
}
if (DBA::exists('post-content', ['uri-id' => $uri_id])) {
return false;
}
$fields = DBStructure::getFieldsForTable('post-content', $data);
// Additionally assign the key fields