]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Fix crash when updating 'disp_summary'
authorDeltaMikeCharlie <127641886+DeltaMikeCharlie@users.noreply.github.com>
Thu, 20 Mar 2025 03:43:50 +0000 (14:43 +1100)
committerFlole <Flole998@users.noreply.github.com>
Tue, 13 May 2025 20:56:26 +0000 (22:56 +0200)
src/dvr/dvr_db.c

index 232b3e15f6ef26dd57915676e16abe88e9e32191..4a64eb4bf9404048b64ba262dc2ad2f528f12fe8 100644 (file)
@@ -3820,7 +3820,7 @@ dvr_entry_class_disp_summary_set(void *o, const void *v)
   const char *lang = idnode_lang(o);
   const char *s = "";
   v = tvh_str_default(v, "UnknownSummary");
-  if (de->de_subtitle)
+  if (de->de_summary)
     s = lang_str_get(de->de_summary, lang);
   if (strcmp(s, v)) {
     lang_str_set(&de->de_summary, v, lang);