fix CRM-11994 and also a bunch of php 5.4 notices
add comment for CRM-11994
Merge pull request #46 from dlobo/CRM-11994

fix CRM-11994 and also a bunch of php 5.4 notices