Skip to content
Snippets Groups Projects
Commit c061bae3 authored by Guy Halse's avatar Guy Halse
Browse files

Make metarefresh produce syntactically valid PHP

Fixes a typo introduced by #906
parent 35994db1
No related branches found
No related tags found
No related merge requests found
...@@ -431,7 +431,7 @@ class MetaLoader ...@@ -431,7 +431,7 @@ class MetaLoader
foreach ($elements as $m) { foreach ($elements as $m) {
$entityID = $m['metadata']['entityid']; $entityID = $m['metadata']['entityid'];
$content .= "\n".'$metadata[\''. $content .= "\n".'$metadata[\'';
$content .= addslashes($entityID).'\'] = '.var_export($m['metadata'], true).';'."\n"; $content .= addslashes($entityID).'\'] = '.var_export($m['metadata'], true).';'."\n";
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment