The situation
The first problem is usually not the code. It's access. The hosting is on the old developer's account, the domain renews on their card, the code is in a repository you can't open, and the passwords are in their head. Until that's sorted, every change is a risk.
The second problem is that nobody knows what state it's in. Some of it works, some of it only looks like it does, and there may be half-finished work or known bugs nobody wrote down. Guessing at that is how small jobs become expensive ones.