diff options
author | Christoph Burschka | 2013-12-30 03:20:21 +0100 |
---|---|---|
committer | Christoph Burschka | 2013-12-30 03:20:21 +0100 |
commit | 263b1a056d480f176bb444e16e9bce482a1848ce (patch) | |
tree | 099eedc3ac7f35e5afcbf27856feabe6531d2425 /plugins/smf2 | |
parent | SMF's SSI API may randomly spew HTML; run it in an output buffer. (diff) | |
download | ejabberd-auth-php-263b1a056d480f176bb444e16e9bce482a1848ce.tar.gz |
Actually return the result of the SSI call.
Diffstat (limited to 'plugins/smf2')
-rw-r--r-- | plugins/smf2/smf2.module | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |