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