From: Andrew Dolgov Date: Wed, 29 Apr 2009 21:23:30 +0000 (+0400) Subject: getFeedTitle: properly return title for tag vfeed X-Git-Tag: 1.3.3~14 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=849b382582b052abe9dee827c32b92f695405c9a;p=tt-rss.git getFeedTitle: properly return title for tag vfeed --- diff --git a/functions.php b/functions.php index 4b80c5e0..d9e1869a 100644 --- a/functions.php +++ b/functions.php @@ -2946,7 +2946,11 @@ return "Unknown feed ($id)"; } } else { - return "getFeedTitle($id) failed"; + if (preg_match("/^-?[0-9][0-9]*$/", $id)) { + return "getFeedTitle($id) failed"; + } else { + return $id; + } } }