getFeedCat respects NULL cat_id

master
Andrew Dolgov 19 years ago
parent ac2cc246fa
commit eb4311d00f

@ -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";

Loading…
Cancel
Save