Skip to content

Commit

Permalink
Students: fixed missing Emergency Contact Number 2 on student profile (
Browse files Browse the repository at this point in the history
…#1913)

Co-authored-by: Ali Alam <[email protected]>
  • Loading branch information
ali-ichk and Ali Alam authored Mar 3, 2025
1 parent 6845280 commit a2b9adc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/Students/student_view_details.php
Original file line number Diff line number Diff line change
Expand Up @@ -1128,7 +1128,7 @@
}
}
}

echo '<h4>';
echo __('Emergency Contacts');
echo '</h4>';
Expand All @@ -1147,7 +1147,7 @@
echo '</td>';
echo "<td style=width: 34%; 'vertical-align: top'>";
echo "<span style='font-size: 115%; font-weight: bold'>".__('Number 2').'</span><br/>';
if ($row['website'] != '') {
if ($row['emergency1Number2'] != '') {
echo $row['emergency1Number2'];
}
echo '</td>';
Expand All @@ -1166,7 +1166,7 @@
echo '</td>';
echo "<td style='width: 33%; padding-top: 15px; vertical-align: top'>";
echo "<span style='font-size: 115%; font-weight: bold'>".__('Number 2').'</span><br/>';
if ($row['website'] != '') {
if ($row['emergency2Number2'] != '') {
echo $row['emergency2Number2'];
}
echo '</td>';
Expand Down

0 comments on commit a2b9adc

Please sign in to comment.