Check if already an array before exploding.
This commit is contained in:
parent
f492c6c2c3
commit
7ebe301ffd
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user