summaryrefslogtreecommitdiff
path: root/lib/searchtimer.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/searchtimer.c')
-rw-r--r--lib/searchtimer.c4
1 files changed, 2 insertions, 2 deletions
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"));
}