From: Victor B. <vb...@us...> - 2006-01-29 13:00:09
|
Update of /cvsroot/mantisbt/mantisbt/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15260/core Modified Files: Tag: BRANCH_1_0_0rc5 filter_api.php Log Message: Fixed #6634: Filter does not work with profiles (vboctor) Index: filter_api.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/core/filter_api.php,v retrieving revision 1.122.2.2.2.3.2.5.2.2 retrieving revision 1.122.2.2.2.3.2.5.2.3 diff -u -d -r1.122.2.2.2.3.2.5.2.2 -r1.122.2.2.2.3.2.5.2.3 --- filter_api.php 25 Jan 2006 04:05:25 -0000 1.122.2.2.2.3.2.5.2.2 +++ filter_api.php 29 Jan 2006 12:59:47 -0000 1.122.2.2.2.3.2.5.2.3 @@ -478,7 +478,7 @@ # profile $t_any_found = false; foreach( $t_filter['show_profile'] as $t_filter_member ) { - if ( ( META_FILTER_ANY == $t_filter_member ) || ( is_numeric( $t_filter_member ) ) ) { + if ( ( META_FILTER_ANY == $t_filter_member ) && ( is_numeric( $t_filter_member ) ) ) { $t_any_found = true; } } |