REALLY require DBIx::SB 1.50, jeez
[freeside.git] / rt / lib / RT / Users_Overlay.pm
index 7b14229..809fa67 100644 (file)
@@ -440,6 +440,7 @@ sub WhoHaveRight {
     $from_group->WhoHaveGroupRight( %args );
 
     #XXX: DIRTY HACK
+    use DBIx::SearchBuilder 1.50; #no version on ::Union :(
     use DBIx::SearchBuilder::Union;
     my $union = new DBIx::SearchBuilder::Union;
     $union->add( $_ ) foreach @from_role;