2010/12/7 MoYo <m...@indepnet.net> > 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 <m...@indepnet.net> > >> 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 >> Glpi-dev@gna.org >> https://mail.gna.org/listinfo/glpi-dev >> >> > > _______________________________________________ > Glpi-dev mailing listglpi-...@gna.orghttps://mail.gna.org/listinfo/glpi-dev > > > > _______________________________________________ > Glpi-dev mailing list > Glpi-dev@gna.org > https://mail.gna.org/listinfo/glpi-dev > >
_______________________________________________ Glpi-dev mailing list Glpi-dev@gna.org https://mail.gna.org/listinfo/glpi-dev