CRM-13697 - Avoid php warning

http://issues.civicrm.org/jira/browse/CRM-13697
Merge pull request #1899 from dlobo/CRM-13697

CRM-13697 - Avoid php warning