From 56c04bd8e18f88c3c8e3c023cc4507570b371c06 Mon Sep 17 00:00:00 2001 From: horchi Date: Fri, 22 Dec 2017 11:09:46 +0100 Subject: 2017-12-22 version 1.1.77 (horchi)\n - change: backward compatibility to vdr 2.2.0 - another step\n\n --- lib/db.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/db.h b/lib/db.h index 02c9c06..d600322 100644 --- a/lib/db.h +++ b/lib/db.h @@ -615,7 +615,8 @@ class cDbRow : public cDbService int count = 0; for (int f = 0; f < tableDef->fieldCount(); f++) - count += dbValues[f].getChanges(); + if (dbValues[f].getChanges()) + count++; return count; } -- cgit v1.2.3