- Timestamp:
- Feb 21, 2009, 7:53:33 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/export/export.php
r120 r121 288 288 $LineParts = explode(';', $Line); 289 289 $LineParts2 = explode('=', $LineParts[0]); 290 $Value['ShortCut'] = addslashes(trim($LineParts2[0]));291 $Value['Text'] = addslashes(substr(trim($LineParts2[1]), 1, -1));290 $Value['ShortCut'] = trim($LineParts2[0]); 291 $Value['Text'] = substr(trim($LineParts2[1]), 1, -1); 292 292 $Value['Comment'] = addslashes(substr(trim($LineParts[1]), 3)); 293 293 -
trunk/import/index.php
r120 r121 140 140 $LineParts = explode(';', $Line); 141 141 $LineParts2 = explode('=', $LineParts[0]); 142 $Value['ShortCut'] = addslashes(trim($LineParts2[0]));143 $Value['Text'] = addslashes(substr(trim($LineParts2[1]), 1, -1));144 $Value['Comment'] = addslashes( trim($LineParts[1]));142 $Value['ShortCut'] = trim($LineParts2[0]); 143 $Value['Text'] = substr(trim($LineParts2[1]), 1, -1); 144 $Value['Comment'] = addslashes(substr(trim($LineParts[1]), 3)); 145 145 146 146 $DbResult2 = $Database->SQLCommand('SELECT ID FROM '.$Group['TablePrefix'].' WHERE ShortCut="'.$Value['ShortCut'].'" AND (Language=0)');
Note:
See TracChangeset
for help on using the changeset viewer.