From 2ecd2bdd1393720716ecad10cfcfcaaf0711d9bc Mon Sep 17 00:00:00 2001 From: "Aaron W. Swenson" Date: Thu, 9 Aug 2018 13:23:16 -0400 Subject: [PATCH] Return output When $use_gd is false, returning $output so that the captcha images that have been generated are actually embedded into the final rendering of the page. Fixes #536. --- .../serendipity_event_spamblock.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php b/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php index a12c968f..eb157390 100644 --- a/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php +++ b/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php @@ -842,6 +842,7 @@ class serendipity_event_spamblock extends serendipity_event ); } $output .= ''; + return $output; } } @@ -1696,4 +1697,4 @@ class serendipity_event_spamblock extends serendipity_event } /* vim: set sts=4 ts=4 expandtab : */ -?> \ No newline at end of file +?>