Updated controllers, install and modules for PHP 8.x compatibility
This commit is contained in:
@@ -416,9 +416,7 @@ class AdminFeaturesModuleSettingController extends ModuleAdminController
|
||||
|
||||
if (isset($pos[2]) && (int) $pos[2] === $idFeatureBlock) {
|
||||
if ($objFeatureBlock = new WkHotelFeaturesData((int) $pos[2])) {
|
||||
if (isset($position)
|
||||
&& $objFeatureBlock->updatePosition($way, $position, $idFeatureBlock)
|
||||
) {
|
||||
if (isset($position) && $objFeatureBlock->updatePosition($way, $position)) {
|
||||
echo 'ok position '.(int) $position.' for amenity block '.(int) $pos[1].'\r\n';
|
||||
} else {
|
||||
echo '{"hasError" : true, "errors" : "Can not update amenity block position '.
|
||||
|
||||
Reference in New Issue
Block a user