Plugin Directory

Changeset 801559


Ignore:
Timestamp:
11/09/2013 01:52:47 PM (12 years ago)
Author:
shockware
Message:

Fix min/max hour/minute/second close #87

Location:
contact-form-7-datepicker/trunk/modules
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • contact-form-7-datepicker/trunk/modules/datetime.php

    r763278 r801559  
    8181        foreach (array('minute', 'hour', 'second') as $s) {
    8282            foreach (array('min', 'max') as $m) {
    83                 $dpOptions[$m . ucfirst($m)] = $tag->get_option("$m-$s", '', true);
     83                $dpOptions[$s . ucfirst($m)] = $tag->get_option("$m-$s", '', true);
    8484            }
    8585
  • contact-form-7-datepicker/trunk/modules/time.php

    r763278 r801559  
    7676        foreach (array('minute', 'hour', 'second') as $s) {
    7777            foreach (array('min', 'max') as $m) {
    78                 $dpOptions[$m . ucfirst($m)] = $tag->get_option("$m-$s", '', true);
     78                $dpOptions[$s . ucfirst($m)] = $tag->get_option("$m-$s", '', true);
    7979            }
    8080
Note: See TracChangeset for help on using the changeset viewer.