]> git.wh0rd.org - tt-rss.git/commitdiff
get_article_filters: check if action.type is set
authorAndrew Dolgov <noreply@madoka.volgo-balt.ru>
Thu, 3 Dec 2015 12:33:47 +0000 (15:33 +0300)
committerAndrew Dolgov <noreply@madoka.volgo-balt.ru>
Thu, 3 Dec 2015 12:33:47 +0000 (15:33 +0300)
include/rssfuncs.php

index 476d12be5764c98442eb973ac344f36651aa40f8..669b28e447bbe24065b08f80babb88953712db1f 100644 (file)
                                        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;
                                }
                        }
                }