View Issue Details

IDProjectCategoryView StatusLast Update
0016077MantisTouchGeneralpublic2013-11-04 01:19
Reporterdominik Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.2.2 
Fixed in Version1.2.3 
Summary0016077: Parse errors on issue_report_page.php
Description

PHP Fatal error: Function name must be a string in /var/www/public_html/easycuc/mantistouch/issue_report_page.php on line 46

switch ( $f_opt_id ) {
case 1:
$g_view['success_msg'] = t( 'issue_added_successfully' );
break;
case 2:
$g_view['error_msg'] = t( 'issue_mandatory_field_missing' );
break;
case 3:
$g_view['error_msg'] = $t( 'issue_add_failure' ) . '
' . $_REQUEST['errmsg'];
break;
case 4:
$g_view['errormsg'] = $t( 'issue_add_failure' );
break;
default:
break;
}

It should always be t(), not $t or $t_... I guess ;-)

TagsNo tags attached.

Activities

vboctor

vboctor

2013-08-11 01:02

manager   ~0037653

This code is already modified in the upcoming version. To fix the error replace $t( with t( in case 3 and 4.