Fixing problem with preg_split replaced with explode, tracker #2403

This commit is contained in:
Oscar Manuel Gómez Senovilla 2009-12-05 10:30:22 +00:00
parent 8f0bd9a5dc
commit 0deeb03379

View File

@ -92,7 +92,7 @@ if($_POST['debug'] && count(translation::$line_rejected))
$str = '';
foreach(translation::$line_rejected as $badline)
{
$_f_buffer = preg_split("/[\\/\\]/", $badline['appfile']);
$_f_buffer = explode('/', $badline['appfile']);
$str .= lang('Application: %1, File: %2, Line: "%3"','<b>'.$_f_buffer[count($_f_buffer)-3].'</b>',
'<b>'.$_f_buffer[count($_f_buffer)-1].'</b>',$badline['line'])."<br />\n";
}