From 849b382582b052abe9dee827c32b92f695405c9a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 30 Apr 2009 01:23:30 +0400 Subject: [PATCH] getFeedTitle: properly return title for tag vfeed --- functions.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; + } } } -- 2.39.5