merge opengraph fixes from dev

This commit is contained in:
Mario
2019-11-25 08:41:34 +00:00
parent 8727f12b18
commit 004861fbb7
3 changed files with 66 additions and 60 deletions

View File

@@ -211,7 +211,7 @@ class Articles extends Controller {
}
// Add Opengraph markup
opengraph_add_meta(((! empty($items)) ? $r[0] : array()), App::$profile);
opengraph_add_meta((! empty($items) ? $r[0] : []), $channel);
$mode = 'articles';