]> git.wh0rd.org Git - tt-rss.git/commitdiff
update_rss_feed: log warning when attempting to update unknown feed
authorAndrew Dolgov <noreply@fakecake.org>
Fri, 29 Apr 2016 19:10:00 +0000 (22:10 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Fri, 29 Apr 2016 19:10:00 +0000 (22:10 +0300)
include/rssfuncs.php

index 27e8ffc14c947fea1a42b9681095e5ff8380fdd7..c01e703d18876bb9e6a4691c38e7b6c7b7aceb77 100755 (executable)
 
                if (db_num_rows($result) == 0) {
                        _debug("feed $feed NOT FOUND/SKIPPED", $debug_enabled);
+                       user_error("Attempt to update unknown/invalid feed $feed", E_USER_WARNING);
                        return false;
                }