Skip to content

Commit ace6eb7

Browse files
committed
Uncomment fix for sql error
Solve problem with empty comment field
1 parent 66877a0 commit ace6eb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

root/includes/functions_reputation.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,12 +265,12 @@ function give_point($to, $post_id = 0, $comment, $notify = false, $point, $mode
265265
'bbcode_bitfield' => $message_parser->bbcode_bitfield,
266266
);
267267
}
268-
/*else
268+
else
269269
{
270270
$sql_data += array(
271271
'comment' => $comment
272272
);
273-
}*/
273+
}
274274

275275
$db->sql_query('INSERT INTO ' . REPUTATIONS_TABLE . ' ' . $db->sql_build_array('INSERT', $sql_data));
276276

0 commit comments

Comments
 (0)