summaryrefslogtreecommitdiff
path: root/webstore.c
diff options
context:
space:
mode:
authorhorchi <vdr@jwendel.de>2018-02-16 18:59:40 +0100
committerhorchi <vdr@jwendel.de>2018-02-16 18:59:40 +0100
commitb2fb1c3c3b33ce7d7e4e88e02f29bb6aabad5d00 (patch)
treea5f36fe231022a7954f2edbd7cf0eec37ddac19b /webstore.c
parentf91afbf2343fb96ce30628243e97c4a99bfee6da (diff)
parent53d4aa03a6190d5fd9e055c9814374edae0fafe7 (diff)
downloadvdr-epg-daemon-b2fb1c3c3b33ce7d7e4e88e02f29bb6aabad5d00.tar.gz
vdr-epg-daemon-b2fb1c3c3b33ce7d7e4e88e02f29bb6aabad5d00.tar.bz2
Merge branch 'master' of projects.vdr-developer.org:vdr-epg-daemon
* 'master' of projects.vdr-developer.org:vdr-epg-daemon: updated configs/eventsview-ck.sql 2018-02-14: version 1.1.134 (horchi)\n - bugfix: Fixed handling of timer type change by WEBIF\n\n 2018-02-14: version 1.1.133 (horchi)\n - bugfix: Fixed display of external timer in WEBIF lists\n\n 2018-02-10: version 1.1.132 (rechner)\n - chanhed: text for swichtimer and highlight recIcon on success\n\n
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
{