Fixes #6697: Raising an error when we add parameter without any value