Changeset:
        ce7ea3de1514
        
https://sourceforge.net/p/mrbs/hg-code/ci/ce7ea3de15140960e6ce178fde85de87e9e35dca
Author:
        Campbell Morrison <[email protected]>
Date:
        Mon Jan 30 15:59:22 2017 +0000
Log message:

Fixed bug preventing an event whose room name includes the area-room separator 
from being imported.

diffstat:

 web/import.php |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r ff4f3916c8eb -r ce7ea3de1514 web/import.php
--- a/web/import.php    Fri Jan 20 20:48:38 2017 +0000
+++ b/web/import.php    Mon Jan 30 15:59:22 2017 +0000
@@ -61,11 +61,11 @@
   }
   elseif ($area_room_order == 'area_room')
   {
-    list($location_area, $location_room) = explode($area_room_delimiter, 
$location);
+    list($location_area, $location_room) = explode($area_room_delimiter, 
$location, 2);
   }
   else
   {
-    list($location_room, $location_area) = explode($area_room_delimiter, 
$location);
+    list($location_room, $location_area) = explode($area_room_delimiter, 
$location, 2);
   }
   $location_area = trim($location_area);
   $location_room = trim($location_room);

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to