Fix for invalid patch.
Merge pull request #1000 from sylus/7.x-1.x

Fix for invalid patch.