Check by empty target_id.
1 open thread
Check by emptied target_id.
Edited by João Eduardo Ramos Costa
Merge request reports
Activity
163 163 164 164 foreach ($list as $item) { 165 165 // If we are in preview mode, paragraphs are still unknown. 166 if (is_null($item['target_id'])) { 166 if (empty($item['target_id'])) { Hi @yivanov,
thanks for merging and moving forward, but shouldn't we check by empty() instead of is_null ? Is that if the index target_id is not defined it will throw a notice...
Please register or sign in to reply