Commit 21915da4 by pupi1985

Fix undefined variable

parent 8364a32c
...@@ -89,7 +89,7 @@ class qa_filter_basic ...@@ -89,7 +89,7 @@ class qa_filter_basic
else { else {
$tagstring = qa_tags_to_tagstring($question['tags']); $tagstring = qa_tags_to_tagstring($question['tags']);
if (qa_strlen($tagstring) > QA_DB_MAX_TAGS_LENGTH) { // for storage if (qa_strlen($tagstring) > QA_DB_MAX_TAGS_LENGTH) { // for storage
$errors['tags'] = qa_lang_sub('main/max_length_x', $maxlength); $errors['tags'] = qa_lang_sub('main/max_length_x', QA_DB_MAX_TAGS_LENGTH);
} }
} }
} }
......
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