Plugin Directory

Changeset 2837541


Ignore:
Timestamp:
12/21/2022 04:56:42 PM (3 years ago)
Author:
chuhpl
Message:

BUGFIX: Fixed errors thrown on the Add Container page when there are zero containers that was keeping people from adding containers.

Location:
book-a-room/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • book-a-room/trunk/README.txt

    r2781982 r2837541  
    106106
    107107== Changelog ==
     108= 2.9 =
     109* BUGFIX: Fixed problems with errors on variables that weren't set yet on the Add Container page.
     110
    108111= 2.8.9 =
    109112* BUGFIX: Fixed a few count() calls that were erroring out on empty.
  • book-a-room/trunk/bookaroom-meetings-roomConts.php

    r1732355 r2837541  
    381381    function showRoomContEdit( $roomContInfo, $branchID, $roomContList, $roomList, $branchList, $amenityList, $action, $actionName )
    382382    # show edit page and fill with values
    383     {
     383    {       
     384        if( empty( $roomContInfo ) ) {
     385         $roomContInfo = [ 'occupancy' => null, 'isPublic' => null, 'hideDaily' => null, 'errors' => null, 'roomContID' => null, 'roomContDesc' => null ];
     386        }
    384387        require( BOOKAROOM_PATH . 'templates/roomConts/edit.php' );
    385388    }
  • book-a-room/trunk/bookaroom.php

    r2781982 r2837541  
    44Plugin URI: https://wordpress.org/plugins/book-a-room/
    55Description: Book a Room is a library oriented meeting room management and event calendar system.
    6 Version: 2.8.9
     6Version: 2.9
    77Author: Colin Tomele
    88Author URI: http://heightslibrary.org
Note: See TracChangeset for help on using the changeset viewer.