Commit 7f65de54 by Scott

Fix empty question title, answer or comment

parent 3370cb23
......@@ -360,7 +360,7 @@
// Post content
if (@$options['contentview'] && !empty($post['content'])) {
if (@$options['contentview'] && isset($post['content'])) {
$viewer=qa_load_viewer($post['content'], $post['format']);
$fields['content']=$viewer->get_html($post['content'], $post['format'], array(
......
......@@ -250,6 +250,9 @@
'flagging_notify_first' => 1,
'max_num_q_tags' => 2,
'max_rate_ip_logins' => 1,
'min_len_a_content' => 1,
'min_len_c_content' => 1,
'min_len_q_title' => 1,
'page_size_activity' => 1,
'page_size_ask_check_qs' => 3,
'page_size_ask_tags' => 3,
......
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