fixed parsing the boundary in the gui

This commit is contained in:
SJ 2014-08-13 14:09:25 +02:00
parent 52a35704f1
commit 1fde346eb9

View File

@ -344,6 +344,9 @@ class ModelSearchMessage extends Model {
$x = stristr($l, "boundary"); $x = stristr($l, "boundary");
if($x){ if($x){
$s1 = explode(";", $x);
$x = $s1[0];
$x = preg_replace("/boundary\s{0,}=\s{0,}/i", "boundary=", $x); $x = preg_replace("/boundary\s{0,}=\s{0,}/i", "boundary=", $x);
//$x = preg_replace("/boundary= /i", "boundary=", $x); //$x = preg_replace("/boundary= /i", "boundary=", $x);