|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r75680 - website/public_html/beta/common/code
From: dnljms_at_[hidden]
Date: 2011-11-26 14:30:34
Author: danieljames
Date: 2011-11-26 14:30:33 EST (Sat, 26 Nov 2011)
New Revision: 75680
URL: http://svn.boost.org/trac/boost/changeset/75680
Log:
Website: Avoid accessing undefined value.
Text files modified:
website/public_html/beta/common/code/boost_archive.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: website/public_html/beta/common/code/boost_archive.php
==============================================================================
--- website/public_html/beta/common/code/boost_archive.php (original)
+++ website/public_html/beta/common/code/boost_archive.php 2011-11-26 14:30:33 EST (Sat, 26 Nov 2011)
@@ -372,7 +372,7 @@
HTML;
$content = '<h1>404 Not Found</h1><p>File "' . $params['file'] . '" not found.</p><p>';
- if($params['zipfile']) $content .= "Unzip error: ";
+ if(!empty($params['zipfile'])) $content .= "Unzip error: ";
$content .= htmlentities($message);
$content .= '</p>';
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk