• Resolved WHSajid

    (@whsajid)


    There’s a bug on line 542 of /includes/admin/wphb-admin-functions.php.

    
    541: add_action( 'hb_booking_detail_update_meta_box', 'hb_booking_detail_update_meta_box', 10, 3 );
    542: if ( !function_exists( 'hb_manage_booking_column' ) ) {
    543: 
    544: 	function hb_booking_detail_update_meta_box( $k, $vl, $post_id ) {
    

    Line 542 should be checking for ‘hb_booking_detail_update_meta_box’ instead of ‘hb_manage_booking_column’.

    So it should be as follows…

    
    542: if ( !function_exists( 'hb_booking_detail_update_meta_box' ) ) {
    

    As of right now, the bug prevents users from creating new bookings via the backend.

    • This topic was modified 7 years, 3 months ago by WHSajid.
Viewing 1 replies (of 1 total)
  • Plugin Contributor Lee

    (@leehld)

    Hello @whsajid,

    Thank you for your report, We fixed this issue and updated in the next version (1.7.6.4) of WP Hotel Booking plugin.

    Best Regards,

    Lee

Viewing 1 replies (of 1 total)
  • The topic ‘Bug that needs to be fixed.’ is closed to new replies.