diff --git a/sbin/ngcp-sync-constants b/sbin/ngcp-sync-constants index 9cedae0d..72b79f7d 100755 --- a/sbin/ngcp-sync-constants +++ b/sbin/ngcp-sync-constants @@ -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);