Changeset 1807
- Timestamp:
- 04/08/08 17:29:40 (8 months ago)
- Files:
-
- branches/release-34/lib/MT/CMS/Common.pm (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/release-34/lib/MT/CMS/Common.pm
r1714 r1807 71 71 72 72 if ( ( $type eq 'notification' ) || ( $type eq 'banlist' ) ) { 73 return $app->list_objects(\%param );73 return list( $app, \%param ); 74 74 } 75 75 elsif ( ( $app->param('cfg_screen') || '' ) eq 'cfg_archives' ) { 76 return $app->cfg_archives(\%param );76 return edit( $app, \%param ); 77 77 } 78 78 else { … … 115 115 $param{ $qual . $f } = $q->param($f); 116 116 } 117 return $app->edit_object(\%param );117 return edit( $app, \%param ); 118 118 } 119 119 } … … 265 265 if ( 'blog' eq $type ) { 266 266 my $meth = $q->param('cfg_screen'); 267 if ( $meth && $app-> can($meth) ) {267 if ( $meth && $app->handlers_for_mode($meth) ) { 268 268 $app->error( 269 269 $app->translate( "Save failed: [_1]", $app->errstr ) ); … … 271 271 } 272 272 } 273 return $app->edit_object(273 return edit( $app, 274 274 { 275 275 %$param,
