[Rt-commit] rt branch, 4.0/admin-class-pagemenu, created. rt-4.0.10-65-gc8c468f
Alex Vandiver
alexmv at bestpractical.com
Fri Mar 1 14:00:02 EST 2013
The branch, 4.0/admin-class-pagemenu has been created
at c8c468f87da1c365aeb02bc5d6514f4360bc09e6 (commit)
- Log -----------------------------------------------------------------
commit c8c468f87da1c365aeb02bc5d6514f4360bc09e6
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Fri Mar 1 13:59:59 2013 -0500
Fix the class whose id existance we're checking
diff --git a/share/html/Elements/Tabs b/share/html/Elements/Tabs
index 0ca26bc..5e79c79 100644
--- a/share/html/Elements/Tabs
+++ b/share/html/Elements/Tabs
@@ -363,7 +363,7 @@ my $build_admin_menu = sub {
if ( $request_path =~ m{^/Admin/Articles/Classes/} ) {
my $tabs = PageMenu();
if ( my $id = $DECODED_ARGS->{'id'} ) {
- my $obj = RT::CustomField->new( $session{'CurrentUser'} );
+ my $obj = RT::Class->new( $session{'CurrentUser'} );
$obj->Load($id);
if ( $obj and $obj->id ) {
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list