aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorM.Dent <dentm42@dm42.net>2018-10-07 03:02:22 +0000
committerMario <mario@mariovavti.com>2018-10-07 08:43:58 +0200
commit8ca321df7c742f4beed69bc92b3e28f978e56e04 (patch)
tree33efe6aa984e5d3781957f7a24a4d2dcd03d92fe /include
parented97800c805fbc9bd5ed7c3f18bcb51c82db4620 (diff)
downloadvolse-hubzilla-8ca321df7c742f4beed69bc92b3e28f978e56e04.tar.gz
volse-hubzilla-8ca321df7c742f4beed69bc92b3e28f978e56e04.tar.bz2
volse-hubzilla-8ca321df7c742f4beed69bc92b3e28f978e56e04.zip
Add missing else clause
(cherry picked from commit 259db3778c9385b9e4811e495146267b14b67a46)
Diffstat (limited to 'include')
-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;
}
}