Make sure lookups is initialized to an array

This commit is contained in:
Nathan Gray 2011-04-13 14:32:45 +00:00
parent 3333d18fae
commit e61bb1abf7

View File

@ -135,6 +135,7 @@ class resources_import_csv implements importexport_iface_import_plugin {
$types = importexport_export_csv::$types; $types = importexport_export_csv::$types;
$types['select-bool'] = array('bookable'); $types['select-bool'] = array('bookable');
$lookups = array();
while ( $record = $import_csv->get_record() ) { while ( $record = $import_csv->get_record() ) {
$success = false; $success = false;