Revision: 2123
          http://mrbs.svn.sourceforge.net/mrbs/?rev=2123&view=rev
Author:   cimorrison
Date:     2011-10-20 09:33:47 +0000 (Thu, 20 Oct 2011)
Log Message:
-----------
Fixed bug when doing a "traditional click" - the room was not being selected

Modified Paths:
--------------
    mrbs/branches/draggable_bookings/web/edit_entry.php

Modified: mrbs/branches/draggable_bookings/web/edit_entry.php
===================================================================
--- mrbs/branches/draggable_bookings/web/edit_entry.php 2011-10-20 09:14:39 UTC 
(rev 2122)
+++ mrbs/branches/draggable_bookings/web/edit_entry.php 2011-10-20 09:33:47 UTC 
(rev 2123)
@@ -1024,12 +1024,12 @@
       <?php
       echo "<select id=\"rooms\" name=\"rooms[]\"" .
            (($multiroom_allowed) ? " multiple=\"multiple\"" : "") .
-           " size=\"5\">\n";  
+           " size=\"5\">\n";
       foreach ($rooms as $r)
       {
         if ($r['area_id'] == $area_id)
         {
-          if (isset($selected_rooms))
+          if (!empty($selected_rooms))
           {
             // We've come from a drag selection
             $is_selected = in_array($r['id'], $selected_rooms);

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Ciosco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to