Fix sample.php

Sample.php in the framework root directory crashes after a new checkout
of the wrong Object type for the lblMessage. This commit fixes the issue
Merge pull request #457 from vaibhav-kaushal/fix_sample

Fix sample.php