Fix issue #2
Merge pull request #3 from quyenbui/7.x-2.x

Fixed issue #2: Avoid fatal error when using drupalView