Package: mantis
Version: 0.19.2-5sarge5
Severity: normal
Tags: patch

The "print reports" link from the "view issues" page reports:

    Parse error: parse error, unexpected ';' in
    /usr/share/mantis/gui/print_all_bug_page.php on line 78                     
              
When the extra semicolon is removed the page works correctly.  No other files
in /usr/share/mantis/gui report parse errors according to php -l.  Trivial
patch attached.

Thanks,
Matt

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)

Versions of packages mantis depends on:
ii  apache2                  2.0.54-5sarge2  next generation, scalable, extenda
ii  apache2-mpm-prefork [htt 2.0.54-5sarge2  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  libapache2-mod-php4      4:4.3.10-22     server-side, HTML-embedded scripti
ii  libphp-adodb             4.52-1sarge1    The 'adodb' database abstraction l
ii  makepasswd               1.10-2          Generate and encrypt passwords
ii  mysql-client-4.1 [mysql- 4.1.11a-4sarge8 mysql database client binaries
ii  php4-cli                 4:4.3.10-22     command-line interpreter for the p
ii  php4-mysql               4:4.3.10-22     MySQL module for php4
ii  wwwconfig-common         0.0.43          Debian web auto configuration

-- debconf information:
  mantis/title: Mantis
  mantis/username: mantis
  mantis/webmaster: [EMAIL PROTECTED]
  mantis/url: http://localhost/mantis/
  mantis/bounce: [EMAIL PROTECTED]
  mantis/db_autoupdate: true
* mantis/purge_db: false
  mantis/dn: dn=
  mantis/ldap: false
  mantis/ldap_server: localhost
  mantis/version:
  mantis/mysql_port: 3306
* mantis/webserver: apache2
  mantis/from: [EMAIL PROTECTED]
  mantis/show_version: true
  mantis/root_mysql: root
  mantis/app_configure: true
  mantis/language: english
  mantis/signup: true
  mantis/admin: [EMAIL PROTECTED]
* mantis/mysql_server: localhost
  mantis/database: bugtracker
  mantis/organisation:
--- print_all_bug_page.php.orig 2008-01-14 02:55:08.000000000 -0500
+++ print_all_bug_page.php      2008-01-22 11:15:04.131523253 -0500
@@ -75,7 +75,7 @@
 
 <table class="width100"><tr><td class="form-title">
        <div class="center">
-               <?php echo string_display ( config_get( 'window_title' ) ) . ' 
- ' . string_display( project_get_name( $t_project_id ); ) ?>
+               <?php echo string_display ( config_get( 'window_title' ) ) . ' 
- ' . string_display( project_get_name( $t_project_id ) ) ?>
        </div>
 </td></tr></table>
 

Reply via email to