Skip to content

Commit

Permalink
update_col.php: php8 fix; use stdClass in case of NULL
Browse files Browse the repository at this point in the history
  • Loading branch information
trob authored Sep 1, 2022
1 parent 2bf946d commit 63f1398
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/fabrik_list/update_col/update_col.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ protected function getUpdateCols($params)

// get the pre-set updates
$update = json_decode($params->get('update_col_updates'));
if (is_null($update) ) $update = new stdClass();

$prompt = $params->get('update_col_prompt', false);

Expand Down

0 comments on commit 63f1398

Please sign in to comment.