related to #1644 Conform UI for linked albums

This commit is contained in:
Matthieu Leproux
2022-09-20 16:09:40 +02:00
parent f3e34767fd
commit fb197e6a3e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -374,7 +374,7 @@ while ($row = pwg_db_fetch_assoc($result))
$template->assign('STORAGE_CATEGORY', $name);
}
$related_categories[$row['category_id']] = array('name' => $name, 'isVirtual' => !isset($row['dir']));
$related_categories[$row['category_id']] = array('name' => $name, 'unlinkable' => $row['category_id'] != $storage_category_id);
$related_categories_ids[] = $row['category_id'];
}