Ensure that the Image object tag_array and the metadata array tags are always arrays.

This commit is contained in:
jgen
2017-05-12 00:57:50 -07:00
parent c0e87ae2ae
commit f492c6c2c3
12 changed files with 19 additions and 15 deletions

View File

@ -500,7 +500,7 @@ class OuroborosAPI extends Extension
}
}
$meta = array();
$meta['tags'] = $post->tags;
$meta['tags'] = Tag::explode($post->tags);
$meta['source'] = $post->source;
if (defined('ENABLED_EXTS')) {
if (strstr(ENABLED_EXTS, 'rating') !== false) {