mirror of
https://github.com/lempamo/Project-Unite.git
synced 2025-01-22 11:21:47 -05:00
Attempt to fix bug with deleting...
This commit is contained in:
parent
d0317c159b
commit
bcb75147a7
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ public void DeleteCategoryRecursive(ForumCategory start)
|
|||
{
|
||||
DeleteTopic(topic);
|
||||
}
|
||||
db.ForumCategories.Remove(db.ForumCategories.FirstOrDefault(x => x.Id == start.Id));
|
||||
db.ForumCategories.Remove(start);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue