Check if already an array before exploding.
This commit is contained in:
parent
f492c6c2c3
commit
7ebe301ffd
1 changed files with 1 additions and 1 deletions
|
@ -500,7 +500,7 @@ class OuroborosAPI extends Extension
|
|||
}
|
||||
}
|
||||
$meta = array();
|
||||
$meta['tags'] = Tag::explode($post->tags);
|
||||
$meta['tags'] = is_array($post->tags) ? $post->tags : Tag::explode($post->tags);
|
||||
$meta['source'] = $post->source;
|
||||
if (defined('ENABLED_EXTS')) {
|
||||
if (strstr(ENABLED_EXTS, 'rating') !== false) {
|
||||
|
|
Reference in a new issue