Skip to content

Commit

Permalink
Fix missiing cast on getHeadingTextColour function
Browse files Browse the repository at this point in the history
- The type cast had been missed on the getHeadingTextColourFunction, so has been added
  • Loading branch information
rowan04 committed Jan 26, 2023
1 parent c8107a2 commit 54c3ace
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Gocdb_Services/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ public function getBackgroundColour3()

public function getHeadingTextColour()
{
$headingTextColour = $this->GetLocalInfoXML()->css->headingTextColour;
$headingTextColour = (string) $this->GetLocalInfoXML()->css->headingTextColour;

return $headingTextColour;
}
Expand Down

0 comments on commit 54c3ace

Please sign in to comment.