Commit 4ca23251 by Amiya

following coding standards

parent b3ede3a0
......@@ -351,7 +351,7 @@
foreach ($answers as $answer)
if (!$answer['hidden'])
if (implode(' ', qa_string_to_words($answer['content'])) == $testwords){
if (implode(' ', qa_string_to_words($answer['content'])) == $testwords) {
$errors['content']=qa_lang_html('question/duplicate_content');
break;
}
......@@ -427,7 +427,7 @@
foreach ($commentsfollows as $comment)
if (($comment['basetype']=='C') && ($comment['parentid']==$parentid) && !$comment['hidden'])
if (implode(' ', qa_string_to_words($comment['content'])) == $testwords){
if (implode(' ', qa_string_to_words($comment['content'])) == $testwords) {
$errors['content']=qa_lang_html('question/duplicate_content');
break;
}
......
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