Changeset 23632


Ignore:
Timestamp:
2014/10/02 08:14:03 (6 years ago)
Author:
shutta
Message:

#2626 (SC_FormParam::overwriteParam()にて、default値が上書きできない)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/SC_FormParam.php

    r23605 r23632  
    581581 
    582582        if ($index !== FALSE) { 
    583             $this->{$target}[$index] = $value; 
     583            if ($target == 'default') { 
     584                $this->arrDefault[$keyname] = $value; 
     585            } else { 
     586                $this->{$target}[$index] = $value; 
     587            } 
    584588        } 
    585589    } 
Note: See TracChangeset for help on using the changeset viewer.