Modify

Opened 5 years ago

Closed 5 years ago

#2032 closed Aufgabe (fixed)

preg_replace() in xtc_parse_search_string() ersetzen

Reported by: anonymous Owned by: somebody
Priority: normal Milestone: modified-shop-2.0.7.0
Component: Shop Version: 2.0.6.0
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by Torsten Riemer)

Performance-Verbesserung:
Mit Bezug auf Ticket #1982 rege ich hiermit nochmals an in /inc/xtc_parse_search_string.inc.php preg_replace() mit str_replace() zu ersetzen.

An zwei Stellen kann man

trim(preg_replace('/"/', ' ', $pieces[$k]))

hiermit ersetzen

trim(str_replace('"', ' ', $pieces[$k]))

Gruß,
noRiddle

Attachments (0)

Change History (2)

comment:1 by Torsten Riemer, 5 years ago

Description: modified (diff)
Milestone: modified-shop-2.0.6.1

comment:2 by Gerhard Waldemair, 5 years ago

Resolution: fixed
Status: newclosed

In 13557:

fix #2032 - use faster str_replace instead of preg_replace

Modify Ticket

Action
as closed The owner will remain somebody.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.