duh
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / ResultSource.pm
index b81af5b..fa08fae 100644 (file)
@@ -1594,7 +1594,7 @@ See L<DBIx::Class::Schema/"throw_exception">.
 sub throw_exception {
   my $self = shift;
 
-  if (defined $self->schema);
+  if (defined $self->schema) {
     $self->schema->throw_exception(@_);
   }
   else {