Use instanceof instead of is_a() in Controller.php
Merge pull request #1669 from bcrowe/hotfix-instancecheck

Use instanceof instead of is_a() in Controller.php