Commit a4bca185 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Fix the undefined function probation_validate_content(). Bug 1407490"

parents 4d1c6407 87c97293
......@@ -1093,8 +1093,8 @@ function delete_comment_submit(Pieform $form, $values) {
}
function add_feedback_form_validate(Pieform $form, $values) {
require_once(get_config('libroot') . 'antispam.php');
if ($form->get_property('spam')) {
require_once(get_config('libroot') . 'antispam.php');
$spamtrap = new_spam_trap(array(
array(
'type' => 'body',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment