Ticket #2500 (closed defect: fixed)
default not defined....
| Reported by: | nicolaas | Assigned to: | aoneil |
|---|---|---|---|
| Type: | defect | Priority: | medium |
| Milestone: | 2.2.2-rc5* | Component: | CMS - Field editor |
| Version: | 2.2.2-rc2 | Severity: | medium effort / impact |
| Keywords: | Cc: | ||
| Due date: | Harvest Task: | (Unknown) | |
| Invoice sent to client: | 0 | Hours: |
Description
Undefined variable: default GET /admin/
Line 81 in /home/u5/corsto/localorganics.net/html/sapphire/forms/EditableDropdownOption.php Source
72 return $this->EditSegment?(); 73 } 74 75 function DefaultSelect?() { 76 $disabled = ($this->readonly) ? " disabled=\"disabled\"" : ; 77 78 if( $this->Parent()->getField('Default') == $this->ID ) 79 $default = " checked=\"checked\""; 80 81 return "<input class=\"radio\" type=\"radio\" name=\"Fields[{$this->ParentID}][Default]\" value=\"{$this->ID}\"".$disabled.$default." />"; 82 } 83 } 84 ?>
