diff --git a/Block.pm b/Block.pm index f14f7e8..42a4a26 100644 --- a/Block.pm +++ b/Block.pm @@ -252,7 +252,7 @@ sub validate_options { # If the source is not a reference, we assue it is the table name to check } elsif(not ref($settings -> {"source"})) { my $checkh = $self -> {"dbh"} -> prepare("SELECT * - FROM ".$settings -> {"source"}." + FROM `".$settings -> {"source"}."` ".$settings -> {"where"}); # Check for the value in the table... $checkh -> execute($value)