From e952e39574b180ebc50b383699b5c1fe201155ef Mon Sep 17 00:00:00 2001 From: horchi Date: Wed, 14 Feb 2018 17:37:21 +0100 Subject: 2018-02-14: version 1.1.134 (horchi)\n - bugfix: Fixed handling of timer type change by WEBIF\n\n --- HISTORY.h | 5 ++++- webstore.c | 7 ++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/HISTORY.h b/HISTORY.h index 9e9cbde..83f2b84 100644 --- a/HISTORY.h +++ b/HISTORY.h @@ -4,7 +4,7 @@ * ----------------------------------- */ -#define _VERSION "1.1.133" +#define _VERSION "1.1.134" #define VERSION_DATE "14.02.2018" #define DB_API 6 @@ -18,6 +18,9 @@ * ------------------------------------ * +2018-02-14: version 1.1.134 (horchi) + - bugfix: Fixed handling of timer type change by WEBIF + 2018-02-14: version 1.1.133 (horchi) - bugfix: Fixed display of external timer in WEBIF lists diff --git a/webstore.c b/webstore.c index c8aff7e..adfc049 100644 --- a/webstore.c +++ b/webstore.c @@ -369,7 +369,7 @@ int cEpgHttpd::storeTimerJob(json_t* jInData, json_t* response) //*************************************************************************** // Modify Timer (copy paste from cMenuDb of epg2vdr) // -// - timerRow contains the destination vdrUuid +// - timerRow contains the new/modified values //*************************************************************************** int cEpgHttpd::modifyCreateTimer(cDbRow* timerRow) @@ -405,6 +405,11 @@ int cEpgHttpd::modifyCreateTimer(cDbRow* timerRow) if (!timerDb->hasValue("VDRUUID", timerRow->getStrValue("VDRUUID"))) move = yes; + + // move to another timer type? + + if (!timerDb->hasValue("TYPE", timerRow->getStrValue("TYPE"))) + move = yes; } else { -- cgit v1.2.3