Fixed Importing from SMF => preg_replace(): No ending delimiter '#' found

Sorry, this is a bug.

Please open the file: library/XenForo/Importer/SMF.php

Find:
PHP:
$string = preg_replace('#\[attach=(\d+)\]', '[ATTACH]$1.SMF[/ATTACH]', $string);

Replace with:
PHP:
$string = preg_replace('#\[attach=(\d+)\]#', '[ATTACH]$1.SMF[/ATTACH]', $string);
That should get it going.
 
Top Bottom