From: SourceForge.net <no...@so...> - 2006-02-25 02:12:18
|
Bugs item #1438442, was opened at 2006-02-25 15:12 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=106121&aid=1438442&group_id=6121 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: version 1.3.x (experimental) Group: PHP error Status: Open Resolution: None Priority: 5 Submitted By: Matt Brown (mattgbrown) Assigned to: Nobody/Anonymous (nobody) Summary: Unitialised variable reference in config.php Initial Comment: 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 repository at: http://svn.wlug.org.nz/viewcvs?root=wiki&rev=55&view=rev ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=106121&aid=1438442&group_id=6121 |