Fixed PHP notice.
Merge branch 'master' of https://github.com/joomlaworks/k2