Changeset 1866 for branches/release-34/lib/MT/CMS/TrackBack.pm
- Timestamp:
- 04/11/08 19:19:30 (19 months ago)
- Files:
-
- 1 modified
-
branches/release-34/lib/MT/CMS/TrackBack.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/release-34/lib/MT/CMS/TrackBack.pm
r1823 r1866 152 152 ## entries. 153 153 my %arg; 154 require MT::TBPing; 154 155 if ( ( $app->param('tab') || '' ) eq 'junk' ) { 155 156 $app->param( 'filter', 'junk_status' ); 156 $app->param( 'filter_val', '-1');157 $app->param( 'filter_val', MT::TBPing::JUNK() ); 157 158 $param{filter_special} = 1; 158 159 $param{filter_phrase} = $app->translate('Junk TrackBacks'); 159 160 } 160 161 else { 161 $terms{'junk_status'} = [ 0, 1 ];162 $terms{'junk_status'} = MT::TBPing::NOT_JUNK(); 162 163 } 163 164 … … 473 474 elsif ( $status eq 'moderate' ) { 474 475 $obj->moderate; 475 $obj->junk_status(0);476 476 } 477 477 elsif ( $status eq 'junk' ) {
