fix not found error for tags & labels
This commit is contained in:
parent
e33a1fdac2
commit
a6b4a12a5b
14
backend.php
14
backend.php
|
@ -721,13 +721,15 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$result = db_query($link,
|
if ($feed_id > 0) {
|
||||||
"SELECT id FROM ttrss_feeds WHERE id = '$feed' LIMIT 1");
|
$result = db_query($link,
|
||||||
|
"SELECT id FROM ttrss_feeds WHERE id = '$feed' LIMIT 1");
|
||||||
|
|
||||||
if (db_num_rows($result) == 0) {
|
if (db_num_rows($result) == 0) {
|
||||||
print "<div align='center'>
|
print "<div align='center'>
|
||||||
Could not display feed: feed not found.</div>";
|
Feed not found.</div>";
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (preg_match("/^-?[0-9][0-9]*$/", $feed) != false) {
|
if (preg_match("/^-?[0-9][0-9]*$/", $feed) != false) {
|
||||||
|
|
Loading…
Reference in New Issue