aboutsummaryrefslogtreecommitdiffstats
path: root/include/plugin.php
diff options
context:
space:
mode:
authorM. Dent <dentm42@gmail.com>2018-10-07 05:05:27 +0200
committerM. Dent <dentm42@gmail.com>2018-10-07 05:05:27 +0200
commit3efeeecaceca094cd46d8e262a4f9c0f461284ba (patch)
treebad11294a2058db1c4c064eb35fee7ba6eb3de19 /include/plugin.php
parent2d9fe72215f0853f9234f57466095ee762253d82 (diff)
parent259db3778c9385b9e4811e495146267b14b67a46 (diff)
downloadvolse-hubzilla-3efeeecaceca094cd46d8e262a4f9c0f461284ba.tar.gz
volse-hubzilla-3efeeecaceca094cd46d8e262a4f9c0f461284ba.tar.bz2
volse-hubzilla-3efeeecaceca094cd46d8e262a4f9c0f461284ba.zip
Merge branch 'dev' into 'dev'
Add missing else clause See merge request hubzilla/core!1317
Diffstat (limited to 'include/plugin.php')
-rwxr-xr-xinclude/plugin.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/plugin.php b/include/plugin.php
index fdc62b3a7..ce081401d 100755
--- a/include/plugin.php
+++ b/include/plugin.php
@@ -1075,8 +1075,9 @@ function get_markup_template($s, $root = '') {
$newroot .= '/';
}
$template = $t->get_markup_template($s, $newroot);
- }
- $template = $t->get_markup_template($s, $root);
+ } else {
+ $template = $t->get_markup_template($s, $root);
+ }
return $template;
}
}