Changeset 688 for trunk/Modules/Import


Ignore:
Timestamp:
Jan 2, 2014, 2:15:44 PM (11 years ago)
Author:
maron
Message:
  • Fixed: compare text special strings only in quest
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Import/Import.php

    r684 r688  
    281281      $old = str_replace('$b', '', $old);
    282282     
    283       while ($part = substr($old, strpos($old, '<'), strpos($old, '>')-strpos($old, '<')))
     283      if ($this->Group['Id'] == 1)
     284       while ($part = substr($old, strpos($old, '<'), strpos($old, '>')-strpos($old, '<')))
    284285        if ($part <> '') {
    285286          $old = str_replace($part.'>', '', $old);
     
    306307      $new = str_replace('$b', '', $new);
    307308
    308       while ($part = substr($new, strpos($new, '<'), strpos($new, '>')-strpos($new, '<')))
     309      if ($this->Group['Id'] == 1)
     310       while ($part = substr($new, strpos($new, '<'), strpos($new, '>')-strpos($new, '<')))
    309311        if ($part <> '') {
    310312          $new = str_replace($part.'>', '', $new);
Note: See TracChangeset for help on using the changeset viewer.