The guessing_lang function makes a reference to a
potentially uninitialised variable ($accept) on line
156 when the users browser does not send an
Accept-Language header (wget is an exampel of a browser
that does not do this).
The attached patch initialises the $accept variable to
false to avoid this problem.
This patch can be found as r55 in the WLUG svn
Log in to post a comment.