fix asset history getting added to config multiple times
This commit is contained in:
parent
603990e21c
commit
78adf974cc
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue