Plugin Directory

Changeset 2762593


Ignore:
Timestamp:
07/27/2022 07:44:56 PM (4 years ago)
Author:
chuhpl
Message:

BUGFIX: Update several functions for PHP 8 compatibility.

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

Legend:

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

    r2762587 r2762593  
    106106
    107107== Changelog ==
     108= 2.8.6 =
     109* BUGFIX: Changed some functions to be PHP8 compatible.
     110
    108111= 2.8.5 =
    109112* BUGFIX: Added missing column
  • book-a-room/trunk/bookaroom-meetings-customerSearch.php

    r1728894 r2762593  
    2828                } else {
    2929                    # get search values
    30                     $roomInfo = getRoomInfo( $externals['roomID'], self::$branchList, self::$roomContList, true, true );
     30                    $roomInfo = getRoomInfo( self::$branchList, self::$roomContList, $externals['roomID'], true, true );
    3131                    $results = self::searchRegistrations( $roomInfo, $externals['startDate'], $externals['endDate'], $externals['searchName'], $externals['searchEmail'], $externals['searchPhone'] );
    3232                    self::showSearchForm( $externals, NULL, NULL, $results );
     
    287287    # form fields
    288288    {
    289         $roomInfo = getRoomInfo( $externals['roomID'], self::$branchList, self::$roomContList, true, true );
     289        $roomInfo = getRoomInfo( self::$branchList, self::$roomContList, $externals['roomID'], true, true );
    290290
    291291        require BOOKAROOM_PATH . 'templates/events/customerSearch.php';
  • book-a-room/trunk/bookaroom-meetings-public.php

    r2603643 r2762593  
    6161                } else {
    6262                    self::sendAlertEmail( $externals, $amenityList, $roomContList, $branchList );
    63                     self::showForm_insertNewRequest( $externals, NULL, $cityList );
     63                    self::showForm_insertNewRequest( $externals, $cityList );
    6464                    return self::sendCustomerReceiptEmail( $externals, $amenityList, $roomContList, $branchList );                 
    6565                }
     
    551551    }
    552552   
    553     public static function showForm_insertNewRequest( $externals, $event = NULL, $cityList )
     553    public static function showForm_insertNewRequest( $externals, $cityList, $event = NULL )
    554554    {
    555555        global $wpdb;
  • book-a-room/trunk/bookaroom.php

    r2762587 r2762593  
    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.5
     6Version: 2.8.6
    77Author: Colin Tomele
    88Author URI: http://heightslibrary.org
  • book-a-room/trunk/sharedFunctions.php

    r2603643 r2762593  
    1818}
    1919
    20 function getRoomInfo( $cur_roomID = NULL, $branchList, $roomContList, $selectBranch = FALSE, $noLocation = FALSE )
     20function getRoomInfo( $branchList, $roomContList, $cur_roomID = NULL, $selectBranch = FALSE, $noLocation = FALSE )
    2121{
    2222    $cur_branchID = $cur_noloc_branchID = NULL;
Note: See TracChangeset for help on using the changeset viewer.