Posted by Anonymous Mon 19th Mar 2007 10:50 - Syntax is PHP - 22 views
Download | New Post | Modify | Hide line numbers
Download | New Post | Modify | Hide line numbers
PHP parser reported the following syntax error in this post:
Parse error: syntax error, unexpected T_CASE in post on line 1
Parse error: syntax error, unexpected T_CASE in post on line 1
-
-
case 'RESOLVE':
-
$t_resolved_status = config_get( 'bug_resolved_status_threshold' );
-
if ( access_has_bug_level( access_get_status_threshold( $t_resolved_status, bug_get_field( $t_bug_id, 'project_id' ) ), $t_bug_id ) &&
-
( $t_status < $t_resolved_status ) &&
-
bug_check_workflow($t_status, $t_resolved_status ) ) {
-
$f_resolution = gpc_get_int( 'resolution' );
-
$f_fixed_in_version = gpc_get_string( 'fixed_in_version', '' );
-
bug_resolve( $t_bug_id, $f_resolution, $f_fixed_in_version );
-
} else {
-
if ( ( $t_status < $t_resolved_status ) &&
-
bug_check_workflow($t_status, $t_resolved_status ) ) {
-
$t_failed_ids[$t_bug_id] = lang_get( 'bug_actiongroup_access' );
-
} else {
-
$t_failed_ids[$t_bug_id] = lang_get( 'bug_actiongroup_status' );
-
}
-
}
-
break;
PermaLink to this entry https://pastebin.co.uk/12039
Posted by Anonymous Mon 19th Mar 2007 10:50 - Syntax is PHP - 22 views
Download | New Post | Modify | Hide line numbers
Download | New Post | Modify | Hide line numbers
Comments: 0