#
# COPYRIGHT:
#
-# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC
+# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC
# <sales@bestpractical.com>
#
# (Except where explicitly superseded by other copyright notices)
}
}
- $obj->SetStatus( Status => 'open', Force => 1 );
+ $obj->SetStatus(
+ Status => $obj->QueueObj->Lifecycle->DefaultStatus('approved') || 'open',
+ Force => 1,
+ );
}
my $passed = !$top->HasUnresolvedDependencies( Type => 'approval' );