Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] default selected items in dropdown list

[FIXED] default selected items in dropdown list 01 Oct 2012 23:16 #4205

  • Tomaselli
  • Tomaselli's Avatar
  • Offline
  • Elite Member
  • Posts: 293
  • Thank you received: 87
  • Karma: 46
there is a bug on the Jdom/html/form/input/select/combo.php

on this line:
$selected = ($item->$listKey == $this->dataValue);

it should be:
$selected = ($item->$listKey === $this->dataValue);

otherwise NULL or ZERO are managed at the same way.
Last Edit: 03 Oct 2012 13:48 by admin.
The administrator has disabled public write access.
The following user(s) said Thank You: admin, BTB300

Re: default selected items in dropdown list 03 Oct 2012 13:09 #4233

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Fixed.

Thanks for this.

The little details are those that are making the difference. It improve stability a lot.
Coding is now a piece of cake
The administrator has disabled public write access.
The following user(s) said Thank You: Tomaselli
Time to create page: 0.081 seconds

Get Started