CRM-14120 e-notice error due to returning NULL not by reference, From what I recall...
authorEileen McNaughton <eileen@fuzion.co.nz>
Thu, 23 Jan 2014 20:57:27 +0000 (09:57 +1300)
committerEileen McNaughton <eileen@fuzion.co.nz>
Thu, 23 Jan 2014 20:57:27 +0000 (09:57 +1300)
commit870b407685e1833a23e20e788875ba9b0fd522b0
tree7dbb3bd9a6edd9803ac7d6c36061350da343c8ee
parent3bf2c46c41711b0ec2e3135cc4435f18d24ee3e6
CRM-14120 e-notice error due to returning NULL not by reference, From what I recall php lazy copying means that we don't lose any performance benefit by not returning as a referenct

----------------------------------------
* CRM-14120: Notice Notice: Only variable references should be returned by reference in event() (line 122 of /srv/www/womenslibrary.org.uk/sites/all/modules/civicrm/CRM/Event/PseudoConstant.php).
  http://issues.civicrm.org/jira/browse/CRM-14120
CRM/Event/PseudoConstant.php