summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY.h5
-rw-r--r--webstore.c7
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
{