Index: trunk/extensions/CodeReview/backend/CodeCommentLinker.php |
— | — | @@ -117,7 +117,7 @@ |
118 | 118 | } |
119 | 119 | |
120 | 120 | // like strcspn() but adds the skipped chars to $ret |
121 | | - private function skipAndAppend( &$ret, $text, $search, $start, $len = NULL ) { |
| 121 | + private function skipAndAppend( &$ret, $text, $search, $start, $len = -1 ) { |
122 | 122 | $skipCount = 0; |
123 | 123 | if( $start < strlen($text) ) { |
124 | 124 | $skipCount = strcspn( $text, $search, $start, $len ); |