Skip to content
Snippets Groups Projects
Commit cd45df54 authored by ale's avatar ale
Browse files

Fix debug log message

parent 90a6f9b8
No related branches found
No related tags found
No related merge requests found
Pipeline #16108 passed
......@@ -72,7 +72,7 @@ function nospam_json_query($method, $s) {
function nospam_auto_check_comment($commentdata) {
$comment = nospam_make_comment($commentdata);
$r = nospam_json_query('test', $comment);
error_log('nospam_auto_check_comment(): ' . get_option('home') . ' -> ' . $r);
error_log('nospam_auto_check_comment(): ' . get_option('home') . ' -> ' . json_encode($r));
if ($r && $r['status'] != 'ok') {
add_filter('pre_comment_approved',
create_function('$a', 'return \'spam\';'), 99);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment