Skip to content

Commit

Permalink
Fixed typo in exception handler
Browse files Browse the repository at this point in the history
  • Loading branch information
Zizaco committed Jul 16, 2014
1 parent 58ea7ac commit 6f084bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Zizaco/Entrust/EntrustPermission.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function beforeDelete( $forced = false )
{
try {
\DB::table(Config::get('entrust::permission_role_table'))->where('permission_id', $this->id)->delete();
} catch(Execption $e) {}
} catch(Exception $e) {}

return true;
}
Expand Down

0 comments on commit 6f084bc

Please sign in to comment.