From: Andrew Dolgov Date: Fri, 2 Aug 2013 12:03:13 +0000 (+0400) Subject: fix entries not inserted properly when no languages are detected X-Git-Tag: 1.10~35 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=edba269b6f3f2ed594c75f5ad9a6b3ecfeb3121f;p=tt-rss.git fix entries not inserted properly when no languages are detected --- 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();