•  

Forum

Moderated by: stefan, hombergs, xweber
Forum Index
OpenPhpNuke
     Bugs
     opn_FormularClass bug...

Author Printer friendly pageopn_FormularClass bug...

Unregistered User
Posted: 2004-09-20 21:31

Hola all,

I have a problem with AddSelect(...) in the class 'opn_FormularClass'

When I do something like this:

$ma[-1] = ''; for ($min=0; $minAddSelect($dbtimefield.'minute', $ma, '0');


Then on my form in my browser I don't see that the 'zero' is selected and that my 'selected' is ignored.

I noticed that on lines in the file where the class somepares the 'selected' value with the initialisation array that the comparison is done with a == operator.

I think it's best to do it with the strcmp function.

The reason behind this that it fails to compare 0 at some points.

This is on the lines: 1482, 1497,1589,1628 of the classes file.

Ries


Quote Printer friendly page upwards
sort by

Previous thread:  eGallery Problem
Next Thread:  $opnConfig['opndate']->mkTimestamp(..) bug

Jump To:

Nickname:
 
Security Code
Security Code
reload

 
Page took 0.07571 seconds to load