Ignore:
Timestamp:
Feb 15, 2010, 12:06:02 PM (15 years ago)
Author:
maron
Message:

Mazání přebytečných mezer u vytváření addonu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/export/create_addon.php

    r309 r323  
    2424      $Man = substr($Man, 0, strpos($Man, ':'));
    2525      $Woman = substr($Woman, 0, strpos($Woman, ';'));
     26      str_replace(' ', '', $Man);
     27      str_replace(' ', '', $Woman);
    2628      $string = $Before.'"..gsub(gsub(UnitSex("player"), "^2$", "'.
    2729      $Man.'"), "^3$", "'.$Woman.'").."'.$After;
     
    3638      $Man = substr($Man, 0, strpos($Man, ':'));
    3739      $Woman = substr($Woman, 0, strpos($Woman, ';'));
     40      str_replace(' ', '', $Man);
     41      str_replace(' ', '', $Woman);
    3842      $string = $Before.'"..gsub(gsub(UnitSex("player"), "^2$", "'.$Man.'"), "^3$", "'.$Woman.'").."'.$After;
    3943    }
Note: See TracChangeset for help on using the changeset viewer.