Restaurant Reservations - Version 2.0.8

Version Description

(2019-11-01) = - Corrects issue that was causing the array_key_exists null given error

Download this release

Release Info

Developer Rustaurius
Plugin Icon 128x128 Restaurant Reservations
Version 2.0.8
Comparing to
See all releases

Code changes from version 2.0.7 to 2.0.8

includes/Permissions.class.php CHANGED
@@ -36,7 +36,7 @@ class rtbPermissions {
36
37
$bookings_objects = get_posts( array( 'post_type' => array( RTB_BOOKING_POST_TYPE ) ) );
38
39
- $this->permission_level = ( ( array_key_exists('status', $cffrtb) or array_key_exists('status', $ebfrtb) or array_key_exists('status', $etfrtb) or get_option("mcfrtb_license_key") ) ? 2 : ( ! empty($bookings_objects) ? 1 : 0 ) );
40
41
update_option( "rtb-permission-level", $this->permission_level );
42
}
36
37
$bookings_objects = get_posts( array( 'post_type' => array( RTB_BOOKING_POST_TYPE ) ) );
38
39
+ $this->permission_level = ( ( ( is_array($cffrtb) and array_key_exists('status', $cffrtb) ) or ( is_array($ebfrtb) and array_key_exists('status', $ebfrtb) ) or ( is_array($etfrtb) and array_key_exists('status', $etfrtb) ) or get_option("mcfrtb_license_key") ) ? 2 : ( ! empty($bookings_objects) ? 1 : 0 ) );
40
41
update_option( "rtb-permission-level", $this->permission_level );
42
}
readme.txt CHANGED
@@ -175,6 +175,9 @@ Find answers to even more questions in the [FAQ](http://doc.fivestarplugins.com/
175
176
== Changelog ==
177
178
= 2.0.7 (2019-10-31) =
179
- Updating version number of enqueued admin files to help with incorrect styling after update
180
- Correcting issue with premium license transfer
175
176
== Changelog ==
177
178
+ = 2.0.8 (2019-11-01) =
179
+ - Corrects issue that was causing the array_key_exists null given error
180
+
181
= 2.0.7 (2019-10-31) =
182
- Updating version number of enqueued admin files to help with incorrect styling after update
183
- Correcting issue with premium license transfer
restaurant-reservations.php CHANGED
@@ -3,7 +3,7 @@
3
* Plugin Name: Five Star Restaurant Reservations
4
* Plugin URI: http://www.fivestarplugins.com/plugins/five-star-restaurant-reservations/
5
* Description: Restaurant reservations made easy. Accept bookings online. Quickly confirm or reject reservations, send email notifications, set booking times and more.
6
- * Version: 2.0.7
7
* Author: FiveStarPlugins
8
* Author URI: https://profiles.wordpress.org/fivestarplugins/
9
* Text Domain: restaurant-reservations
3
* Plugin Name: Five Star Restaurant Reservations
4
* Plugin URI: http://www.fivestarplugins.com/plugins/five-star-restaurant-reservations/
5
* Description: Restaurant reservations made easy. Accept bookings online. Quickly confirm or reject reservations, send email notifications, set booking times and more.
6
+ * Version: 2.0.8
7
* Author: FiveStarPlugins
8
* Author URI: https://profiles.wordpress.org/fivestarplugins/
9
* Text Domain: restaurant-reservations