diff options
| -rw-r--r-- | includes/functions/functions_charts.php | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/includes/functions/functions_charts.php b/includes/functions/functions_charts.php index 19558a1e86..a97b4701c2 100644 --- a/includes/functions/functions_charts.php +++ b/includes/functions/functions_charts.php @@ -119,8 +119,7 @@ function print_family_parents(WT_Family $family, $sosa=0, $label='', $parid='', echo "</td>"; // husband’s parents $hfam = $husb->getPrimaryChildFamily(); - - if ($hfam || $sosa) { + if ($hfam) { // remove the|| test for $sosa echo "<td rowspan=\"2\"><img src=\"".$WT_IMAGES["hline"]."\" alt=\"\"></td><td rowspan=\"2\"><img src=\"".$WT_IMAGES["vline"]."\" width=\"3\" height=\"" . ($pbheight+9) . "\" alt=\"\"></td>"; echo "<td><img class=\"line5\" src=\"".$WT_IMAGES["hline"]."\" alt=\"\"></td><td>"; // husband’s father @@ -144,7 +143,7 @@ function print_family_parents(WT_Family $family, $sosa=0, $label='', $parid='', print_url_arrow($hfam->getXref(), ($sosa==0 ? '?famid='.$hfam->getXref().'&ged='.WT_GEDURL : '#'.$hfam->getXref()), $hfam->getXref(), 1); echo '</td>'; } - if ($hfam || $sosa) { + if ($hfam) { // remove the|| test for $sosa // husband’s mother echo "</tr><tr><td><img src=\"".$WT_IMAGES["hline"]."\" alt=\"\"></td><td>"; if ($hfam && $hfam->getWife()) { @@ -200,7 +199,7 @@ function print_family_parents(WT_Family $family, $sosa=0, $label='', $parid='', // wife’s parents $hfam = $wife->getPrimaryChildFamily(); - if ($hfam || $sosa) { + if ($hfam) { // remove the|| test for $sosa echo "<td rowspan=\"2\"><img src=\"".$WT_IMAGES["hline"]."\" alt=\"\"></td><td rowspan=\"2\"><img src=\"".$WT_IMAGES["vline"]."\" width=\"3\" height=\"" . ($pbheight+9) . "\" alt=\"\"></td>"; echo "<td><img class=\"line5\" src=\"".$WT_IMAGES["hline"]."\" alt=\"\"></td><td>"; // wife’s father @@ -224,7 +223,7 @@ function print_family_parents(WT_Family $family, $sosa=0, $label='', $parid='', print_url_arrow($hfam->getXref(), ($sosa==0 ? '?famid='.$hfam->getXref().'&ged='.WT_GEDURL : '#'.$hfam->getXref()), $hfam->getXref(), 1); echo '</td>'; } - if ($hfam || $sosa) { + if ($hfam) { // remove the|| test for $sosa // wife’s mother echo "</tr><tr><td><img src=\"".$WT_IMAGES["hline"]."\" alt=\"\"></td><td>"; if ($hfam && $hfam->getWife()) { |
