summaryrefslogtreecommitdiff
path: root/src/ste/STECore.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/ste/STECore.php')
-rw-r--r--src/ste/STECore.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ste/STECore.php b/src/ste/STECore.php
index a53e652..595228b 100644
--- a/src/ste/STECore.php
+++ b/src/ste/STECore.php
@@ -123,7 +123,7 @@ class STECore
throw new RuntimeError("Can not call tag \"$name\": Does not exist.");
}
}
- return call_user_func($this->tags[$name], $this, $params, $sub);
+ return (string)call_user_func($this->tags[$name], $this, $params, $sub);
} catch (RuntimeError $e) {
if (!$this->mute_runtime_errors) {
return "RuntimeError occurred on tag '$name': " . $e->getMessage();