Skip to content

Commit 9c0ef08

Browse files
committed
fix(area_maintenance): Cast updates_checked to object type for consistency
Changed the type casting of $updates_checked from a direct assignment to an explicit (object) cast to ensure proper object handling and type consistency in the update_data_version method.
1 parent d973872 commit 9c0ef08

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/area_maintenance/class.area_maintenance.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1050,7 +1050,7 @@ public static function build_install_version() : object {
10501050
public static function update_data_version(object $options) : object {
10511051

10521052
// options
1053-
$updates_checked = $options->updates_checked;
1053+
$updates_checked = (object)$options->updates_checked;
10541054

10551055
// set time limit
10561056
set_time_limit ( 259200 ); // 3 days

0 commit comments

Comments
 (0)