From e95bb179a851c463ab5b9e74152ee55739d3496a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 6 Mar 2014 09:02:14 +0400 Subject: [PATCH] fix for article language breaking sql insert --- include/rssfuncs.php | 2 ++ 1 file changed, 2 insertions(+) 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 = ""; } } -- 2.39.5