]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix for article language breaking sql insert
authorAndrew Dolgov <noreply@fakecake.org>
Thu, 6 Mar 2014 05:02:14 +0000 (09:02 +0400)
committerAndrew Dolgov <noreply@fakecake.org>
Thu, 6 Mar 2014 05:02:14 +0000 (09:02 +0400)
include/rssfuncs.php

index f9f9772e127e5fcc8c11d20dcf205fb4f9172bba..0b88ef98986cba997b73e54178541ad70c87aac1 100644 (file)
                                                        $entry_language = db_escape_string(substr($entry_language[0], 0, 2));
 
                                                _debug("detected language: $entry_language", $debug_enabled);
+                                       } else {
+                                               $entry_language = "";
                                        }
                                }