Commit d87a5ead authored by Francesc Guasch's avatar Francesc Guasch
Browse files

fixed db connection init if it still hasn't

parent 65acdf99
......@@ -473,6 +473,9 @@ Returns true if locked.
sub is_locked {
my $self = shift;
$self->_init_connector() if !defined $$CONNECTOR;
my $sth = $$CONNECTOR->dbh->prepare("SELECT count(*) FROM requests "
." WHERE id_domain=?");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment