summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2015-08-12 20:43:22 +0200
committerPhilip Häusler <msquare@notrademark.de>2015-08-12 20:43:22 +0200
commit681d52fe0f8a124904f97e7966ed2ee1b73124d2 (patch)
treef15822a8ef1bc6d64ece39f5bef17514aabb97d3 /includes
parent18585285a3d314aab63a2c6b344ddc1380280c6f (diff)
fix frab import problem on creating rooms
Diffstat (limited to 'includes')
-rw-r--r--includes/pages/admin_import.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/pages/admin_import.php b/includes/pages/admin_import.php
index 0ed2bea9..63104026 100644
--- a/includes/pages/admin_import.php
+++ b/includes/pages/admin_import.php
@@ -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();