Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r57374 - website/public_html/beta/doc
From: daniel_james_at_[hidden]
Date: 2009-11-04 13:53:29


Author: danieljames
Date: 2009-11-04 13:53:29 EST (Wed, 04 Nov 2009)
New Revision: 57374
URL: http://svn.boost.org/trac/boost/changeset/57374

Log:
Fix the filtered view by using strict equality.
Text files modified:
   website/public_html/beta/doc/libraries.php | 5 +++--
   1 files changed, 3 insertions(+), 2 deletions(-)

Modified: website/public_html/beta/doc/libraries.php
==============================================================================
--- website/public_html/beta/doc/libraries.php (original)
+++ website/public_html/beta/doc/libraries.php 2009-11-04 13:53:29 EST (Wed, 04 Nov 2009)
@@ -76,10 +76,11 @@
   global $filter_value, $category_value;
 
   $libversion = explode('.',$lib['boost-version']);
+
   return boost_version($libversion[0],$libversion[1],$libversion[2]) &&
- (!$filter_value || ($lib[$filter_value] && $lib[$filter_value] != 'false')) &&
+ (!$filter_value || ($lib[$filter_value] && $lib[$filter_value] !== 'false')) &&
       (!isset($_GET['filter']) || $lib[$_GET['filter']]) &&
- (!$category_value || $category_value == 'all' ||
+ (!$category_value || $category_value === 'all' ||
         array_search($category_value, $lib['category']) !== FALSE);
 }
 


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