Skip to content

Commit 54c3ace

Browse files
committed
Fix missiing cast on getHeadingTextColour function
- The type cast had been missed on the getHeadingTextColourFunction, so has been added
1 parent c8107a2 commit 54c3ace

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Gocdb_Services/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ public function getBackgroundColour3()
390390

391391
public function getHeadingTextColour()
392392
{
393-
$headingTextColour = $this->GetLocalInfoXML()->css->headingTextColour;
393+
$headingTextColour = (string) $this->GetLocalInfoXML()->css->headingTextColour;
394394

395395
return $headingTextColour;
396396
}

0 commit comments

Comments
 (0)