Skip to content

Commit

Permalink
Fix missing type cast on getHeadingTextColour function
Browse files Browse the repository at this point in the history
- A type cast had accidentally not been added to the getHeadingTextColour function, so has now been added
  • Loading branch information
rowan04 committed Jan 26, 2023
1 parent c8107a2 commit 89756eb
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 89756eb

Please sign in to comment.