Skip to content

Commit

Permalink
[#929] Fixed typos in $app->error() method calls
Browse files Browse the repository at this point in the history
  • Loading branch information
jayallen committed May 27, 2011
1 parent 38f6f19 commit 9583400
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/MT/App/CMS.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1823,21 +1823,21 @@ sub init_core_callbacks {
# ts_funcmap
$pkg
. 'save_permission_filter.ts_funcmap' => sub {
$app->funcmap( $app->translate("Invalid request.") );
$app->error( $app->translate("Invalid request.") );
},
$pkg
. 'delete_permission_filter.ts_funcmap' => sub {
$app->funcmap( $app->translate("Invalid request.") );
$app->error( $app->translate("Invalid request.") );
},

# ts_job
$pkg
. 'save_permission_filter.ts_job' => sub {
$app->job( $app->translate("Invalid request.") );
$app->error( $app->translate("Invalid request.") );
},
$pkg
. 'delete_permission_filter.ts_job' => sub {
$app->job( $app->translate("Invalid request.") );
$app->error( $app->translate("Invalid request.") );
},

# role
Expand Down

0 comments on commit 9583400

Please sign in to comment.