Error message fix (cheers Siracusa), CDBICompat count_all fix (cheers Numa)
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / ResultSet.pm
index 3db3638..db8d56d 100644 (file)
@@ -99,7 +99,7 @@ sub _construct_object {
       } elsif ($rel_obj->{attrs}{accessor} eq 'filter') {
         $new->{_inflated_column}{$pre} = $fetched;
       } else {
-        $self->{class}->throw("Don't know to to store prefetched $pre");
+        $self->{class}->throw("Don't know how to store prefetched $pre");
       }
     }
   }