Skip to content

Commit

Permalink
Hotfix data plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
qurben committed Jan 8, 2020
1 parent 132b68d commit 8a7d263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plugins/data/syntax/entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ function _showData($data, $R) {
$ret .= '<div class="inline dataplugin_entry ' . $data['classes'] . '"><dl>';
$class_names = array();
foreach($data['data'] as $key => $val) {
if($val == '' || !count($val)) continue;
if($val == '' || is_null($val) || (is_array($val) && count($val) == 0)) continue;
$type = $data['cols'][$key]['type'];
if(is_array($type)) {
$type = $type['type'];
Expand Down

0 comments on commit 8a7d263

Please sign in to comment.