aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorM.Dent <dentm42@dm42.net>2018-10-06 23:02:22 -0400
committerM.Dent <dentm42@dm42.net>2018-10-06 23:02:22 -0400
commit259db3778c9385b9e4811e495146267b14b67a46 (patch)
treeb48e994a0e92a4b7f265bdc3c949d3275675b193
parentd1745319318b47932cf5d4acf400bfbf62f94ddc (diff)
downloadvolse-hubzilla-259db3778c9385b9e4811e495146267b14b67a46.tar.gz
volse-hubzilla-259db3778c9385b9e4811e495146267b14b67a46.tar.bz2
volse-hubzilla-259db3778c9385b9e4811e495146267b14b67a46.zip
Add missing else clause
-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;
}
}