]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix entries not inserted properly when no languages are detected
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 2 Aug 2013 12:03:13 +0000 (16:03 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 2 Aug 2013 12:03:13 +0000 (16:03 +0400)
include/rssfuncs.php

index 65855754b95342e0db1de6f6798c7a16511285c2..4b1b30c4bc48b9c6bca009ca177548e10bfd1526 100644 (file)
                                        $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();