Fixed entry post issue

This commit is contained in:
2017-10-25 16:25:03 +07:00
parent 0c56440363
commit d2327c92dd
2 changed files with 11 additions and 5 deletions

View File

@@ -287,6 +287,11 @@ class Posts
unset($args['_addon']);
}
if (isset($args['categoryName'])) { unset($args['categoryName']); }
if (isset($args['creatorName'])) { unset($args['creatorName']); }
if (isset($args['background'])) { unset($args['background']); }
if (isset($args['foreground'])) { unset($args['foreground']); }
foreach ($args as $value) {
if ($value == '') {
$post['status'] = false;