Changeset 22592


Ignore:
Timestamp:
2013/03/01 18:57:08 (7 years ago)
Author:
pineray
Message:

関数の呼び出し部分で引数の初期化はできない

Location:
branches/version-2_12-dev/data/class
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/SC_CheckError.php

    r22567 r22592  
    11731173 
    11741174        $pattern = '/' . join('|', $prohibitedStr) . '/i'; 
    1175         if (preg_match_all($pattern, $targetStr, $matches = array())) { 
     1175        if (preg_match_all($pattern, $targetStr, $matches)) { 
    11761176            $this->arrErr[$value[1]] = '※ ' . $value[0] . 'は入力できません。<br />'; 
    11771177        } 
  • branches/version-2_12-dev/data/class/helper/SC_Helper_HandleError.php

    r22567 r22592  
    131131    static function &_fatal_error_handler(&$buffer) 
    132132    { 
    133         if (preg_match('/<b>(Fatal error)<\/b>: +(.+) in <b>(.+)<\/b> on line <b>(\d+)<\/b><br \/>/i', $buffer, $matches = array())) { 
     133        if (preg_match('/<b>(Fatal error)<\/b>: +(.+) in <b>(.+)<\/b> on line <b>(\d+)<\/b><br \/>/i', $buffer, $matches)) { 
    134134            $message = "$matches[1]: $matches[2] on [$matches[3]($matches[4])]"; 
    135135            GC_Utils_Ex::gfPrintLog($message, ERROR_LOG_REALFILE, true); 
  • branches/version-2_12-dev/data/class/helper/SC_Helper_Mobile.php

    r22567 r22592  
    131131    function lfMobileGetExtSessionId() 
    132132    { 
    133         if (!preg_match('|^' . ROOT_URLPATH . '(.*)$|', $_SERVER['SCRIPT_NAME'], $matches = array())) { 
     133        if (!preg_match('|^' . ROOT_URLPATH . '(.*)$|', $_SERVER['SCRIPT_NAME'], $matches)) { 
    134134            return null; 
    135135        } 
Note: See TracChangeset for help on using the changeset viewer.