Skip to content

Commit

Permalink
fix php notice in Ditto
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmi3yy committed Sep 1, 2017
1 parent 16fe348 commit be94d6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions assets/snippets/ditto/classes/ditto.class.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -734,6 +734,7 @@ function appendTV($tvname='',$docIDs){
}
}
} else {
$row['contentid'] = isset($row['contentid']) ? $row['contentid'] : '';
$defaultOutput = getTVDisplayFormat($row['name'], $row['default_text'], $row['display'], $row['display_params'], $row['type'],$row['contentid']);
foreach ($docIDs as $id) {
if (!isset($docs["#".$id])) {
Expand Down

0 comments on commit be94d6d

Please sign in to comment.