mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 14:17:49 +02:00
Fixes #4916 - Undefined LAN.
This commit is contained in:
@@ -83,7 +83,7 @@ if (isset($_POST['faq_submit']))
|
|||||||
|
|
||||||
$sql->insert("faqs", " 0, '".$_POST['faq_parent']."', '$faq_question', '$data', '".e107::getParser()->filter($_POST['faq_comment'], 'str')."', '".time()."', '".USERID."', '".$count."' ");
|
$sql->insert("faqs", " 0, '".$_POST['faq_parent']."', '$faq_question', '$data', '".e107::getParser()->filter($_POST['faq_comment'], 'str')."', '".time()."', '".USERID."', '".$count."' ");
|
||||||
|
|
||||||
$message = FAQ_ADLAN_32;
|
$message = LAN_FAQS_004; // FAQ_ADLAN_32;
|
||||||
|
|
||||||
unset($faq_question, $data);
|
unset($faq_question, $data);
|
||||||
}
|
}
|
||||||
@@ -130,13 +130,13 @@ if (isset($_POST['commentsubmit']))
|
|||||||
if(vartrue($faqpref['classic_look']))
|
if(vartrue($faqpref['classic_look']))
|
||||||
{
|
{
|
||||||
$ftmp = $faq->show_existing_parents($action, $sub_action, $id, $from, $amount);
|
$ftmp = $faq->show_existing_parents($action, $sub_action, $id, $from, $amount);
|
||||||
$caption = FAQLAN_41;
|
$caption = defset('LAN_PLUGIN_FAQS_FUNCTIONNAME',"FAQ Categories");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$srch = vartrue($_GET['srch']);
|
$srch = vartrue($_GET['srch']);
|
||||||
$ftmp = $faq->view_all($srch);
|
$ftmp = $faq->view_all($srch);
|
||||||
$caption = LAN_FAQS_011;
|
$caption = defset('LAN_FAQS_011', 'FAQ');
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user