Closed JN-Jones closed 9 years ago
The import function uses an undefined variable:
import
// Update parent list. if($insert_forum['type'] == 'c') { $db->update_query("forums", array('parentlist' => $fid), "import_fid = '{$forum['fid']}'"); }
$insert_forum is nowhere defined so the if will always be false. As I wasn't able to find any issues so far and the parentlist is updated in the cleanup function anyways I'll simply remove the if.
$insert_forum
if
false
parentlist
cleanup
The
import
function uses an undefined variable:$insert_forum
is nowhere defined so theif
will always befalse
. As I wasn't able to find any issues so far and theparentlist
is updated in thecleanup
function anyways I'll simply remove theif
.