From: Andrew Dolgov Date: Thu, 6 Mar 2014 05:02:14 +0000 (+0400) Subject: fix for article language breaking sql insert X-Git-Tag: 1.12~29 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=e95bb179a851c463ab5b9e74152ee55739d3496a;p=tt-rss.git fix for article language breaking sql insert --- diff --git a/include/rssfuncs.php b/include/rssfuncs.php index f9f9772e..0b88ef98 100644 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -610,6 +610,8 @@ $entry_language = db_escape_string(substr($entry_language[0], 0, 2)); _debug("detected language: $entry_language", $debug_enabled); + } else { + $entry_language = ""; } }