Fix calling undefined function
Merge pull request #1 from forbesmyester/master

Fix calling undefined function