summaryrefslogtreecommitdiff
path: root/webstore.c
diff options
context:
space:
mode:
authorhorchi <vdr@jwendel.de>2018-02-14 17:37:21 +0100
committerhorchi <vdr@jwendel.de>2018-02-14 17:37:21 +0100
commite952e39574b180ebc50b383699b5c1fe201155ef (patch)
tree646810e9dadc9024d45ad7c897159f5c1df0ad23 /webstore.c
parent1165611e68422b1637ed84f2ca26d9566d3cc6fd (diff)
downloadvdr-epg-daemon-e952e39574b180ebc50b383699b5c1fe201155ef.tar.gz
vdr-epg-daemon-e952e39574b180ebc50b383699b5c1fe201155ef.tar.bz2
2018-02-14: version 1.1.134 (horchi)\n - bugfix: Fixed handling of timer type change by WEBIF\n\n1.1.134
Diffstat (limited to 'webstore.c')
-rw-r--r--webstore.c7
1 files changed, 6 insertions, 1 deletions
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
{