Changeset 21127


Ignore:
Timestamp:
2011/08/04 20:51:52 (9 years ago)
Author:
nanasess
bzr:base-revision:
ohkouchi@loop-az.jp-20110804114759-t05vdkaq7oxn3iox
bzr:committer:
Kentaro Ohkouchi <ohkouchi@loop-az.jp>
bzr:file-ids:

data/class/SC_FormParam.php 15078@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2Fclass%2FSC_FormParam.php
bzr:mapping-version:
v4
bzr:repository-uuid:
1e3b908f-19a9-db11-a64c-001125224ba8
bzr:revision-id:
ohkouchi@loop-az.jp-20110804115150-bra1qpp02iyz14pd
bzr:revno:
3830
bzr:revprop:branch-nick:
branches/version-2_11-dev
bzr:root:
branches/version-2_11-dev
bzr:testament:

bazaar-ng testament short form 2.1
revision-id: ohkouchi@loop-az.jp-20110804115150-bra1qpp02iyz14pd
sha1: 37ae1ddf927c1978adc529b558f8e834263c26b6
bzr:timestamp:
2011-08-04 20:51:50.381000042 +0900
bzr:user-agent:
bzr2.3.1+bzr-svn1.1.0dev0
Message:
  • #515 (PHP 5.3.0対応)
    • preg_replace へ置きかえ
File:
1 edited

Legend:

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

    r21099 r21127  
    234234 
    235235            if (isset($objErr->arrErr[$val]) && !$br) { 
    236                 $objErr->arrErr[$val] = ereg_replace("<br>$", "", $objErr->arrErr[$val]); 
     236                $objErr->arrErr[$val] = preg_replace("/<br(\s+\/)?>/i", "", $objErr->arrErr[$val]); 
    237237            } 
    238238            $cnt++; 
Note: See TracChangeset for help on using the changeset viewer.