Changeset 3 for dev/common/class.parser.php
- Timestamp:
- 10/14/06 23:14:11 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
dev/common/class.parser.php
r2 r3 16 16 $this->killmail_ = str_replace( "**** Truncated - mail is too large ****", "", $this->killmail_ ); 17 17 } 18 19 /* Parser fix, since some killmails don't have a final blow, they would break the KB */ 20 if ( strpos( $this->killmail_, "laid the final blow") < 1 ) { 21 $this->needs_final_blow_ = 1; 22 } 23 /* END FIX */ 18 24 19 25 // if ( strpos( $this->killmail_, "Empty." ) > 0 ) { … … 106 112 } else $finalblow = 0; 107 113 114 /* This is part of the final blow fix, mentioned above */ 115 if ( $this->needs_final_blow_ ) { 116 $finalblow = 1; 117 $this->needs_final_blow_ = 0; 118 } 119 /* END FIX */ 120 108 121 preg_match( "/Security: (.*)/", $involved[$i+1], $matches ); 109 122 $secstatus = $matches[1];