From edba269b6f3f2ed594c75f5ad9a6b3ecfeb3121f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 2 Aug 2013 16:03:13 +0400 Subject: [PATCH] fix entries not inserted properly when no languages are detected --- include/rssfuncs.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/rssfuncs.php b/include/rssfuncs.php index 65855754..4b1b30c4 100644 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -577,6 +577,8 @@ $entry_language = db_escape_string(substr($entry_language[0], 0, 2)); _debug("detected language: $entry_language", $debug_enabled); + } else{ + $entry_language = ""; } $entry_comments = $item->get_comments_url(); -- 2.39.5