From: <nuc...@us...> - 2008-10-29 15:58:50
|
Revision: 5748 http://mantisbt.svn.sourceforge.net/mantisbt/?rev=5748&view=rev Author: nuclear_eclipse Date: 2008-10-29 15:58:43 +0000 (Wed, 29 Oct 2008) Log Message: ----------- Fix #9760: Properly check g_allow_browser_cache in core.php Modified Paths: -------------- trunk/mantisbt/core.php Modified: trunk/mantisbt/core.php =================================================================== --- trunk/mantisbt/core.php 2008-10-29 15:56:04 UTC (rev 5747) +++ trunk/mantisbt/core.php 2008-10-29 15:58:43 UTC (rev 5748) @@ -198,7 +198,7 @@ global $g_bypass_headers, $g_allow_browser_cache; if ( !isset( $g_bypass_headers ) && !headers_sent() ) { - if ( isset( $g_allow_browser_cache ) ) { + if ( isset( $g_allow_browser_cache ) && ON == $g_allow_browser_cache ) { switch ( $t_browser_name ) { case 'IE': header( 'Cache-Control: private, proxy-revalidate' ); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |