Development

Changeset 7665

You must first sign up to be able to contribute.

Changeset 7665

Show
Ignore:
Timestamp:
02/28/08 11:50:53 (1 year ago)
Author:
hartym
Message:

correction in DateFormHelper? (fixes #3023)

Files:

Legend:

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

    r3294 r7665  
    329329  { 
    330330    // $tags['m|d|y'] = $m|$d|$y 
    331     $tags[$k] = $$v; 
     331    if (strlen($$v)) 
     332    { 
     333      $tags[$k] = $$v; 
     334    } 
     335    else 
     336    { 
     337      unset($tags[$k]); 
     338    } 
    332339  } 
    333340 

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting, and supporting several large Open-Source projects.