2010/12/7 MoYo <[email protected]>

>  Hi,
>
Hi,

>
> regexp deleted to prevent php crash.
>

 glad to hear that!


> Regards
>
> Julien
>
>
> Le 29/10/2010 15:28, Denis Linvinus a écrit :
>
>
>
> 2010/10/29 MoYo <[email protected]>
>
>>  Le 29/10/2010 11:30, Denis Linvinus a écrit :
>>
>>
>> After some research i found that problem in
>> $value = preg_replace("/ +/u", " ", $value);
>> in file common.function.php
>> after comment that line, problem was resolved.
>>
>>
>>  Hi,
>>
>> If the line is replace by :
>> $value = preg_replace('/\s\s+/u', ' ', $value);
>>
>
> it works, but eat all spaces, include end of line.
>
> i also test this regexp
> $value = preg_replace("/[\ ]+/u", " ", $value);
> but it also crashes php.
>
>
>
>> You have the problem yet ?
>>
>> Or with other regexp trying to strip spaces ?
>>
>> regards
>>
>> Julien
>>
>>
>>
>> _______________________________________________
>> Glpi-dev mailing list
>> [email protected]
>> https://mail.gna.org/listinfo/glpi-dev
>>
>>
>
> _______________________________________________
> Glpi-dev mailing [email protected]https://mail.gna.org/listinfo/glpi-dev
>
>
>
> _______________________________________________
> Glpi-dev mailing list
> [email protected]
> https://mail.gna.org/listinfo/glpi-dev
>
>
_______________________________________________
Glpi-dev mailing list
[email protected]
https://mail.gna.org/listinfo/glpi-dev

Reply via email to