[dev] hourtimeseconds, hope last fix
    duck 
    duck at obala.net
       
    Thu Mar 25 10:05:42 PST 2004
    
    
  
At Mar 16 I subbited a bug in isValid of hourtimeseconds to make it 
validate even when seconds aren't shown.
Oky. it's is ql but not solves the problem totaly.
It solves it only when a user actully seletes the hour and minute part.
If the feild is not requied (so in subbmisson remains HH:MM:SS) the 
setting of the second part is wrong.
My boss wake me up in the morning for this :)
-- change from --
$time['second'] = '00';
-- to --
$time['second'] = $var->isRequired() ? '00' : '';
Duck
    
    
More information about the dev
mailing list