From 263b1a056d480f176bb444e16e9bce482a1848ce Mon Sep 17 00:00:00 2001 From: Christoph Burschka Date: Mon, 30 Dec 2013 03:20:21 +0100 Subject: Actually return the result of the SSI call. --- plugins/smf2/smf2.module | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/smf2/smf2.module b/plugins/smf2/smf2.module index 441b7ba..8274318 100644 --- a/plugins/smf2/smf2.module +++ b/plugins/smf2/smf2.module @@ -18,6 +18,7 @@ function smf_ssi($function) { array_shift($args); ob_start(); - call_user_func_array("ssi_$function", $args); + $result = call_user_func_array("ssi_$function", $args); file_put_contents('php://stderr', ob_get_clean()); + return $result; } -- cgit v1.1