Allow special catacters in table names.
This commit is contained in:
parent
c83d7aa43e
commit
6bb244472f
2
Block.pm
2
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user