Skip to content

Commit

Permalink
Fix error message when asked to join two tables without an FK
Browse files Browse the repository at this point in the history
  • Loading branch information
autarch committed Jun 14, 2015
1 parent d8efe64 commit 10c0c35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Fey/SQL/Fragment/Join.pm
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ has '_where' => (
sub BUILD {
my $self = shift;

param_error 'You cannot join two tables with a foreign key'
param_error 'You cannot join two tables without a foreign key'
if $self->_has_table2() && ! $self->_has_fk();

return;
Expand Down

0 comments on commit 10c0c35

Please sign in to comment.