Line 80 in /home/bborg/public_html/app/src/BadgeDetailPageController.php
71 } 72 73 public function getBadgeTypeColour() { 74 $badgeid = $this->getBadgeid(); 75 76 $badge = DataObject::get_by_id("Badge",$badgeid); 77 78 79 80 $badgetype = $badge->Type; 81 //print_r($badgetype);exit; 82 83 //give a default badge id of 1 for the listing 84 if($badgetype == "Anchor") { 85 return "#4caf53"; 86 }