diff options
author | Andrew Dolgov <[email protected]> | 2009-04-30 01:23:30 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2009-04-30 01:23:30 +0400 |
commit | 849b382582b052abe9dee827c32b92f695405c9a (patch) | |
tree | c9a3f2c97e6da096e87f2652d04ad667cbcdb81d /functions.php | |
parent | af163b85200e86a12688231b185f1861a71bb41d (diff) |
getFeedTitle: properly return title for tag vfeed
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/functions.php b/functions.php index 4b80c5e0f..d9e1869a3 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; + } } } |