fix frab import problem on creating rooms

main
Philip Häusler 9 years ago
parent 18585285a3
commit 681d52fe0f

@ -162,7 +162,7 @@ function admin_import() {
list($rooms_new, $rooms_deleted) = prepare_rooms($import_file);
foreach ($rooms_new as $room) {
$result = Room_create($name, true, true);
$result = Room_create($room, true, true);
if ($result === false)
engelsystem_error('Unable to create room.');
$rooms_import[trim($room)] = sql_id();

Loading…
Cancel
Save