1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-18 04:12:00 +02:00

Issue #5422 Calling e107::schema() multiple times with json data no longer overwrites existing data and will render all of the items.

This commit is contained in:
camer0n
2025-06-04 15:27:43 -07:00
parent 3a44d02f38
commit d3a9abb9b8
2 changed files with 22 additions and 5 deletions

View File

@@ -190,7 +190,7 @@ unset($e_headers);
/** @experimental - subject to change at any time */
if($schema = e107::schema())
{
echo '<script type="application/ld+json">'.$schema."</script>\n";
echo $schema;
}
unset($schema);