Ticket #2500 (closed defect: fixed)

Opened 3 months ago

Last modified 3 months ago

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 ?>

Attachments

Change History

Changed 3 months ago by nicolaas

just add $default = to the beginning of the function to fix.

Changed 3 months ago by sminnee

  • milestone changed from 2.2.2-rc4 to 2.2.2-rc5

Changed 3 months ago by sminnee

  • status changed from new to closed
  • resolution set to fixed

Fixed in r54402.

Note: See TracTickets for help on using tickets.