Skip to content

Commit

Permalink
PHP 8.2 - Add empty option for workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jack7anderson7 committed Aug 22, 2023
1 parent 7059404 commit f30a84c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions modules/AOW_Actions/actionLines.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ function display_action_lines(SugarBean $focus, $field, $value, $view)
$html .= '<script src="cache/jsLanguage/AOW_Actions/'. $GLOBALS['current_language'] . '.js"></script>';

$app_list_actions = [];
$app_list_actions[''] = '';

if ($view == 'EditView') {
$html .= '<script src="modules/AOW_Actions/actionLines.js"></script>';
Expand Down
2 changes: 1 addition & 1 deletion modules/AOW_WorkFlow/controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ protected function action_getAction()
$aow_action = BeanFactory::newBean('AOW_Actions');
$aow_action->retrieve($_REQUEST['id']);
$id = $aow_action->id;
$params = unserialize(base64_decode($aow_action->parameters));
$params = unserialize(base64_decode($aow_action->parameters ?? ''));

if ($params === false) {
$params = [];
Expand Down

0 comments on commit f30a84c

Please sign in to comment.