diff --git a/backend.php b/backend.php
index 0075eb659..ddc73b972 100644
--- a/backend.php
+++ b/backend.php
@@ -1236,7 +1236,15 @@
print "
Category: | ";
print "";
- print_feed_cat_select($link, "cat_id", $cat_id, "class=\"iedit\"");
+ $parent_feed = db_fetch_result($result, 0, "parent_feed");
+
+ if (sprintf("%d", $parent_feed) > 0) {
+ $disabled = "disabled";
+ } else {
+ $disabled = "";
+ }
+
+ print_feed_cat_select($link, "cat_id", $cat_id, "class=\"iedit\" $disabled");
print " | ";
print "
";
@@ -1265,6 +1273,8 @@
if ($linked_count > 0) {
$disabled = "disabled";
+ } else {
+ $disabled = "";
}
print "