Skip to content

Commit

Permalink
Dashboard fix age display when full date available
Browse files Browse the repository at this point in the history
  • Loading branch information
malamalca committed Oct 5, 2024
1 parent 88f0063 commit 688f51d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/View/Helper/FamireeHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public function getMonthNames()
*/
public function age($dateString)
{
if (strlen($dateString) == 4) {
if (is_string($dateString) && strlen($dateString) == 4) {
$dateString .= '-12-31';
}

Expand Down

0 comments on commit 688f51d

Please sign in to comment.