Posted by Anonymous Mon 19th Mar 2007 10:47 - Syntax is PHP - 21 viewsRun this post in the PHP shell
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
  1.         case 'RESOLVE':
  2.             $t_resolved_status = config_get( 'bug_resolved_status_threshold' );
  3.             if ( access_has_bug_level( access_get_status_threshold( $t_resolved_status, bug_get_field( $t_bug_id, 'project_id' ) ), $t_bug_id ) &&
  4.                          /*( $t_status < $t_resolved_status ) &&*/
  5.                         bug_check_workflow($t_status, $t_resolved_status ) ) {
  6.                 $f_resolution = gpc_get_int( 'resolution' );
  7.                 $f_fixed_in_version = gpc_get_string( 'fixed_in_version', '' );
  8.                 bug_resolve( $t_bug_id, $f_resolution, $f_fixed_in_version );
  9.             } else {
  10.                 if ( ( $t_status < $t_resolved_status ) &&
  11.                         bug_check_workflow($t_status, $t_resolved_status ) ) {
  12.                     $t_failed_ids[$t_bug_id] = lang_get( 'bug_actiongroup_access' );
  13.                 } else {
  14.                     $t_failed_ids[$t_bug_id] = lang_get( 'bug_actiongroup_status' );
  15.                 }
  16.             }
  17.             break;

PermaLink to this entry https://pastebin.co.uk/12038
Posted by Anonymous Mon 19th Mar 2007 10:47 - Syntax is PHP - 21 viewsRun this post in the PHP shell
Download | New Post | Modify | Hide line numbers

 

Comments: 0