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

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

 

Comments: 0