And I just found another error - this time in the admin when you try to add a faq. When you try to add a faq, the faq will be added, but you'll end up with a white screen instead of being redirected back to the faq category.
To fix it, go to admin/includes/modules/faq/update_info.php and remove this block of code
PHP Code:
/* Re-Post all POST'ed variables */
reset($_POST);
while (list($key, $value) = each($_POST)) {
if (!is_array($_POST[$key])) {
echo zen_draw_hidden_field($key, htmlspecialchars(stripslashes($value)));
}
}
$languages = zen_get_languages();
for ($i=0, $n=sizeof($languages); $i<$n; $i++) {
echo zen_draw_hidden_field('faqs_name[' . $languages[$i]['id'] . ']', htmlspecialchars(stripslashes($faqs_name[$languages[$i]['id']])));
echo zen_draw_hidden_field('faqs_answer[' . $languages[$i]['id'] . ']', htmlspecialchars(stripslashes($faqs_answer[$languages[$i]['id']])));
}
I'll submit an updated working version tonight.
Bookmarks