We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9caf4a8 commit bb342ddCopy full SHA for bb342dd
1 file changed
app/Models/Foundation/Main/Companies/Company.php
@@ -532,12 +532,13 @@ public function setAdminEmail(string $admin_email): void
532
$this->admin_email = $admin_email;
533
}
534
535
+ const DefaultColor = 'C34431';
536
/**
537
* @return string
538
*/
539
public function getColor(): ?string
540
{
- return $this->color;
541
+ return empty($this->color) ? self::DefaultColor : $this->color;
542
543
544
0 commit comments