Opened 3 months ago

Closed 3 months 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.6.1
Component: Shop Version: 2.0.6.0

Description (last modified by Tomcraft)

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 Changed 3 months ago by Tomcraft

  • Description modified (diff)
  • Milestone set to modified-shop-2.0.6.1

comment:2 Changed 3 months ago by GTB

  • Resolution set to fixed
  • Status changed from new to closed

In 13557:

fix #2032 - use faster str_replace instead of preg_replace

Add Comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.