From d0ac75a3ce3224d1071c771fa33244cf81c95a86 Mon Sep 17 00:00:00 2001 From: horchi Date: Sat, 18 Mar 2017 08:04:30 +0100 Subject: 2017-03-18: version 1.1.111 (horchi)\n - change: modified repeaing timer check statement to handle '' values like null values again\n - added: new view eventsview-perlbo.sql\n - change: fixed some typos\n\n --- lib/searchtimer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/searchtimer.c') diff --git a/lib/searchtimer.c b/lib/searchtimer.c index b516359..e9081fb 100644 --- a/lib/searchtimer.c +++ b/lib/searchtimer.c @@ -1224,8 +1224,8 @@ int cSearchTimer::isAlreadyDone(int repeatfields, json_t* obj, int silent) if (repeatfields & sfFolge) { - selectDoneTimer->build(" and (field('%s',ifnull(compshorttext,''),ifnull(episodecomppartname,'')) > 0" - " or field('%s',ifnull(compshorttext,''),ifnull(episodecomppartname,'')) > 0)", + selectDoneTimer->build(" and (field('%s',ifnull(compshorttext,'NoShortnameAvailable'),ifnull(episodecomppartname,'NoShortnameAvailable')) > 0" + " or field('%s',ifnull(compshorttext,''),ifnull(episodecomppartname,'NoShortnameAvailable')) > 0)", useeventsDb->getStrValue("COMPSHORTTEXT"), useeventsDb->getStrValue("EPISODECOMPPARTNAME")); } -- cgit v1.2.3