Ignore:
Timestamp:
Jul 1, 2009, 10:28:11 PM (15 years ago)
Author:
maron
Message:

Import sql

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/global_function.php

    r216 r224  
    249249    $old = str_replace('\124', '124', $old);
    250250    $old = str_replace("\'", "'", $old);
    251  
    252     $new = $Value[$GroupItem['Column']];
     251    $old = str_replace("Â", "", $old);
     252    $old = str_replace("�", "", $old);
     253       
     254 
     255    if ($GroupItem['MangosColumn'] <> '') 
     256      $new = $Value[$GroupItem['MangosColumn']];
     257    else
     258      $new = $Value[$GroupItem['Column']];
    253259    $new = str_replace(chr(10), '', $new);
    254260    $new = str_replace(chr(13), '', $new);
     
    260266    $new = str_replace('\124', '124', $new);
    261267    $new = str_replace("\'", "'", $new);
     268    $new = str_replace("Â", "", $new);
     269    $new = str_replace("�", "", $new);
    262270
    263271    if(($old <> $new) and ($GroupItem['Column'] <> 'Comment'))
    264272    {
    265      //   echo $old.'-'.$new;
     273      //  echo $old.'X'.$new;
    266274      $result = false;
    267275    }
Note: See TracChangeset for help on using the changeset viewer.