Trying to insert arrays doesn't work too well...
@@ -448,7 +448,7 @@ $get_questions = upgrade_query("
while ($row = $smcFunc['db_fetch_assoc']($get_questions))
{
- $questions[] = array($language, $row['question'], serialize(array($row['answer'])));
+ $questions[] = "($language, $row['question'], serialize(array($row['answer'])))";
}
$smcFunc['db_free_result']($get_questions);
@@ -510,7 +510,7 @@ CREATE TABLE {$db_prefix}qanda (
@@ -500,7 +500,7 @@ CREATE TABLE IF NOT EXISTS {$db_prefix}qanda (