fixed Fatal error: Using $this when not in object context
Merge pull request #1 from childnode/patch-1

fixed Fatal error: Using $this when not in object context