Issue Number | 787 |
---|---|
Summary | [Internal] Guard against NULL in Doc form loop |
Created | 2023-06-16 11:34:07 |
Issue Type | Improvement |
Submitted By | Kline, Bob (NIH/NCI) [C] |
Assigned To | Kline, Bob (NIH/NCI) [C] |
Status | Closed |
Resolved | 2023-06-16 11:46:48 |
Resolution | Fixed |
Path | /home/bkline/backups/jira/oceebms/issue.349039 |
I noticed a warning in the watchdog logs. At line 242 in
DocForm.php
we need to check the return from
$form_state->getValue('topics')
to ensure that the
return value is an array before using it in a loop.
Installed on DEV.
Elapsed: 0:00:00.000799