Changeset 121 for trunk/import
- Timestamp:
- Feb 21, 2009, 7:53:33 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.