Remove sql error

This commit is contained in:
sparkyx 2007-12-18 22:12:54 +00:00
parent 4c74c72963
commit e3f6db856a
4 changed files with 13 additions and 8 deletions

View file

@ -150,7 +150,7 @@ class widget {
if ($this->readonly==false )
{
//echo "<b>Selected <b>".$this->selected;
$r="<SELECT id=\"$this->name\" NAME=\"$this->name\">";
$r="<SELECT id=\"$this->name\" NAME=\"$this->name\" $this->javascript>";
for ( $i=0;$i<sizeof($this->value);$i++)
{
$checked=($this->selected==$this->value[$i]['value'])?"SELECTED":"";