Modify

Opened 5 years ago

Closed 5 years ago

#1883 closed Aufgabe (fixed)

strpos-Vergleich nicht korrekt in split_page_results

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

Description

Die strpos-Vergleiche in den den construct() der split_page_results.php, sowohl im Front- als auch im Backend, sind nicht korrekt.
Sie müssten korrekterweise anstatt != false, !== false lauten.
Das hat so wie es jetzt ist nur deshalb keine Auswirkungen weil es sehr unwahrscheinlich bis unmöglich ist ein Ergebnis zu bekommen welches == false ergeben könnte, z.B. Position 0. Es sollte imho trotzdem korrigiert werden.

Gruß,
noRiddle

Attachments (0)

Change History (2)

comment:1 by Torsten Riemer, 5 years ago

Milestone: modified-shop-2.0.6.0modified-shop-2.0.5.2

Da es eine Kleinigkeit ist, würde ich das noch für 2.0.5.2 mitnehmen.

comment:2 by Gerhard Waldemair, 5 years ago

Resolution: fixed
Status: newclosed

In 12879:

fix #1883 - fix strpos() comparison in split_page_results

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.