]> git.wh0rd.org - tt-rss.git/blobdiff - include/rssfuncs.php
Revert "set_basic_feed_info: bail out if feed doesn't exist"
[tt-rss.git] / include / rssfuncs.php
index 7ea0bf0c88e3bfa5f811d529623e257203fa8b0b..669b28e447bbe24065b08f80babb88953712db1f 100644 (file)
                                        _debug("RID: $entry_ref_id, IID: $entry_int_id", $debug_enabled);
 
                                        if (DB_TYPE == "pgsql") {
-                                               $tsvector_combined = db_escape_string(mb_substr($entry_title . ' ' . strip_tags($entry_content),
+                                          $tsvector_combined = db_escape_string(mb_substr($entry_title . ' ' . strip_tags(str_replace('<', ' <', $entry_content)),
                                                        0, 1000000));
 
                                                $tsvector_qpart = "tsvector_combined = to_tsvector('$feed_language', '$tsvector_combined'),";
                                        array_push($matches, $action);
 
                                        // if Stop action encountered, perform no further processing
-                                       if ($action["type"] == "stop") return $matches;
+                                       if (isset($action["type"]) && $action["type"] == "stop") return $matches;
                                }
                        }
                }