Fix bad field template
This commit is contained in:
parent
a31f09001f
commit
95d55e9ea2
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
||||||
function hook_origin_render_editlink($data)
|
function hook_origin_render_editlink($data)
|
||||||
{
|
{
|
||||||
// Load HTML into a string
|
// Load HTML into a string
|
||||||
$html = file_get_contents(PluginManager::$PLUGINS_PATH .'/demo_plugin/field.html');
|
$html = file_get_contents(PluginManager::$PLUGINS_PATH .'/origin/field.html');
|
||||||
|
|
||||||
// replace value in HTML if it exists in $data
|
// replace value in HTML if it exists in $data
|
||||||
if (!empty($data['link']['via'])) {
|
if (!empty($data['link']['via'])) {
|
||||||
|
|
Loading…
Reference in a new issue