TT#20092 ngcp-sync-constants: fix default $count

* $count is set to 0 if undef

Change-Id: Ib637a0a35066929e3f83705c25dada739a984010
changes/40/15040/2
Kirill Solomko 9 years ago
parent ac0ba4363a
commit f08fb58c6d

@ -204,6 +204,7 @@ SQL
or die "Cannot execute: ".$DBI::errstr;
my ($count, $match) = $sth_sel->fetchrow_array();
$count //= 0;
if ($count && !$match) {
if ($debug) {
log_debug(sprintf "%s => %s", $user, $pass);

Loading…
Cancel
Save