From 78adf974cc9184d7b72114f7e5974e8bd263243d Mon Sep 17 00:00:00 2001 From: Graham Knop Date: Tue, 24 Mar 2009 15:21:49 +0000 Subject: [PATCH] fix asset history getting added to config multiple times --- docs/upgrades/upgrade_7.6.14-7.7.0.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/upgrades/upgrade_7.6.14-7.7.0.pl b/docs/upgrades/upgrade_7.6.14-7.7.0.pl index a614dffc7..573053173 100644 --- a/docs/upgrades/upgrade_7.6.14-7.7.0.pl +++ b/docs/upgrades/upgrade_7.6.14-7.7.0.pl @@ -123,7 +123,7 @@ sub installAssetHistory { print "\tAdding Asset History content handler... \n" unless $quiet; ##Content Handler my $contentHandlers = $session->config->get('contentHandlers'); - if (! isIn('WebGUI::Content::Handler', @{ $contentHandlers }) ) { + if (! isIn('WebGUI::Content::AssetHistory', @{ $contentHandlers }) ) { my @newHandlers = (); foreach my $handler (@{ $contentHandlers }) { push @newHandlers, $handler;