diff options
author | msquare <msquare@notrademark.de> | 2016-12-26 19:08:59 +0100 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2016-12-26 19:08:59 +0100 |
commit | 827de98256391606fc7744b302968ee966beda54 (patch) | |
tree | 5c0d1ea4d6d26db05bcaf8ca1b3133d04a5dc198 | |
parent | 5f9d508b022a60b385778dca882adea23e52183c (diff) |
fix room delete bug in pentabarf import temporarily
-rw-r--r-- | includes/pages/admin_import.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/pages/admin_import.php b/includes/pages/admin_import.php index 4af09dca..de33bbe2 100644 --- a/includes/pages/admin_import.php +++ b/includes/pages/admin_import.php @@ -267,7 +267,7 @@ function prepare_rooms($file) { $data = read_xml($file); // Load rooms from db for compare with input - $rooms = sql_select("SELECT * FROM `Room`"); + $rooms = sql_select("SELECT * FROM `Room` WHERE `FromPentabarf`='Y'"); $rooms_db = []; $rooms_import = []; foreach ($rooms as $room) { |