Fix for bug "Database table prefix ignored if it's empty"

webtrees commit 15358