fix frab import problem on creating rooms

This commit is contained in:
Philip Häusler 2015-08-12 20:43:22 +02:00
parent 18585285a3
commit 681d52fe0f
1 changed files with 1 additions and 1 deletions

View File

@ -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();