getFeedCat respects NULL cat_id

This commit is contained in:
Andrew Dolgov 2006-05-21 13:18:35 +01:00
parent ac2cc246fa
commit eb4311d00f

View file

@ -1652,7 +1652,7 @@
if (db_num_rows($result) == 1) {
return db_fetch_result($result, 0, "title");
} else {
return "Unknown category ($id)";
return "Uncategorized";
}
} else {
return "getFeedCatTitle($id) failed";