Issue Bug Closed

#18693Wrong parameter order for strpos in t3lib_div::getHostname

C. Finkemeier & M. Loheide 04/24/08, 16:49 updated 01/21/09, 10:10

Description

I have found an error in the t3lib_div class on line 3331 (method “getHostname”).

It seems the strpos command had to be:
strpos($host,’.’)

instead of
strpos(‘.’,$host)

In my case this error appends a wrong host to each mail send with t3lib_htmlmail or t3lib_formmail.

Please fix this bug within next versions.

(issue imported from #M8239)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.