Ignore:
Timestamp:
2013/07/23 10:39:42 (11 years ago)
Author:
Seasoft
Message:

#2275 (PHP5.5対応)

  • Smarty 2.6.26 -> 2.6.27 (厳密にはPHP5.3対応か)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/module/Smarty/libs/plugins/function.math.php

    r20119 r23000  
    3838 
    3939    // match all vars in equation, make sure all are passed 
    40     preg_match_all("!(?:0x[a-fA-F0-9]+)|([a-zA-Z][a-zA-Z0-9_]+)!",$equation, $match); 
     40    preg_match_all("!(?:0x[a-fA-F0-9]+)|([a-zA-Z][a-zA-Z0-9_]*)!",$equation, $match); 
    4141    $allowed_funcs = array('int','abs','ceil','cos','exp','floor','log','log10', 
    4242                           'max','min','pi','pow','rand','round','sin','sqrt','srand','tan'); 
Note: See TracChangeset for help on using the changeset viewer.