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; + } } }