fix IF statement ind DBInfo

Signed-off-by: aurel <aurel.savoiu@cti.pub.ro>