File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5959 // Table view items
6060 if ($ itemsCount > 0 ) {
6161 foreach (\array_keys ($ itemsAll ) as $ i ) {
62- $ item = [];
6362 $ item = $ itemsAll [$ i ]->getValuesItems ();
6463 switch ((int )$ itemsAll [$ i ]->getVar ('item_type ' )) {
6564 case Constants::TYPE_PHP :
Original file line number Diff line number Diff line change 2828 <td class =' center' ><{ $item .name} ></td >
2929 <td class =' center' ><{ $item .text_short} ></td >
3030 <td class =' center' >
31- <{ if isset($item .file_check)} >
31+ <{ if isset($item .file_check) && $ item .file_check != ' ' } >
3232 <img src =" <{ $wgblocks_icons_url_16 } >/<{ $item .file_check} >" >
3333 <{ /if } >
34- <{ $item .file} >
34+ <{ $item .file|default : ' ' } >
3535 </td >
3636 <td class =' center' >
37- <{ if isset($item .func_check)} ><img src =" <{ $wgblocks_icons_url_16 } >/<{ $item .func_check} >" ><{ /if } >
38- <{ $item .func} >
37+ <{ if isset($item .func_check) && $ item .func_check != ' ' } ><img src =" <{ $wgblocks_icons_url_16 } >/<{ $item .func_check} >" ><{ /if } >
38+ <{ $item .func|default : ' ' } >
3939 </td >
4040 <td class =' center' ><{ $item .weight} ></td >
4141 <td class =' center' >
You can’t perform that action at this time.
0 commit comments