Development

Changeset 9054

You must first sign up to be able to contribute.

Changeset 9054

Show
Ignore:
Timestamp:
05/19/08 20:12:49 (5 months ago)
Author:
FabianLange
Message:

1.0: fixed notice when either from or to option in date range tag was not set. fixes #3583

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.0/lib/helper/FormHelper.php

    r6374 r9054  
    587587 
    588588  return $before. 
    589          input_date_tag($name.'[from]', $value['from'], $options). 
     589         input_date_tag($name.'[from]', isset($value['from']) ? $value['from'] : null, $options). 
    590590         $middle. 
    591          input_date_tag($name.'[to]', $value['to'], $options). 
     591         input_date_tag($name.'[to]',   isset($value['to'])   ? $value['to']   : null, $options). 
    592592         $after; 
    593593}