diff --git a/lib/Gocdb_Services/Config.php b/lib/Gocdb_Services/Config.php index 05adbab63..6d8800cdc 100644 --- a/lib/Gocdb_Services/Config.php +++ b/lib/Gocdb_Services/Config.php @@ -390,7 +390,7 @@ public function getBackgroundColour3() public function getHeadingTextColour() { - $headingTextColour = $this->GetLocalInfoXML()->css->headingTextColour; + $headingTextColour = (string) $this->GetLocalInfoXML()->css->headingTextColour; return $headingTextColour; }