Update Date.php
Update Date.php
Fix CRM-13113. Do not try to foreach() an empty array.
resolve pass by ref
make fn displaySessionError static
 CRM-14902 - html error id relationshipTypeID declared twice
CRM-14755 - upgrade fails on insert country
Merge pull request #4597 from eileenmcnaughton/4.4

minor backports (more for consistency but php warning fixes)