Package: mantis
Version: 0.19.2-5sarge1
Severity: normal
In file /usr/share/mantis/gui/view_filters_page.php there are some
additional "+" signs which produce a syntax error.
--- usr/share/mantis/gui/view_filters_page.php 2006-01-04 18:40:53.000000000
+0100
+++ /usr/share/mantis/gui/view_filters_page.php 2006-02-14 14:24:53.000000000
+0100
@@ -35,11 +35,13 @@
$t_custom_fields = custom_field_get_ids( $t_project_id );
foreach ( $t_custom_fields as $t_cfid ) {
- $t_field_info = custom_field_cache_row( $t_cfid, true
);+ if ( $t_field_info['access_level_r'] <=
$t_current_user_access_level ) {
+ $t_field_info = custom_field_cache_row( $t_cfid, true
);
+ if ( $t_field_info['access_level_r'] <=
$t_current_user_access_level ) {
$t_accessible_custom_fields_ids[] = $t_cfid;
$t_accessible_custom_fields_names[] =
$t_field_info['name'];
$t_accessible_custom_fields_values[] =
custom_field_distinct_values( $t_cfid, $t_project_id );
- $t_fields[] = "custom_" .
$t_field_info['name'];+ }
+ $t_fields[] = "custom_" .
$t_field_info['name'];
+ }
}
if ( sizeof( $t_accessible_custom_fields_ids ) > 0 ) {
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.27
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Versions of packages mantis depends on:
ii apache [httpd] 1.3.33-6sarge1 versatile, high-performance HTTP s
ii apache-ssl [httpd] 1.3.33-6sarge1 versatile, high-performance HTTP s
ii apache2-mpm-prefork [htt 2.0.54-5 traditional model for Apache2
ii debconf 1.4.30.13 Debian configuration management sy
ii grep 2.5.1.ds1-4 GNU grep, egrep and fgrep
ii libapache-mod-php4 4:4.3.10-16 server-side, HTML-embedded scripti
ii libapache2-mod-php4 4:4.3.10-16 server-side, HTML-embedded scripti
ii libphp-adodb 4.52-1 The 'adodb' database abstraction l
ii makepasswd 1.10-2 Generate and encrypt passwords
ii mysql-client 4.0.24-10sarge1 mysql database client binaries
ii php4-cli 4:4.3.10-16 command-line interpreter for the p
ii php4-mysql 4:4.3.10-16 MySQL module for php4
ii wwwconfig-common 0.0.43 Debian web auto configuration
-- debconf information excluded
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]