Merge pull request #10506 from seamuslee001/CRM-20253-test
[civicrm-core.git] / api / v3 / Note.php
index 01f835699b97547b48b7ccab7b67e826b25efc44..70f73c5b2fad67e51aeab4abb1bdf228e31298b0 100644 (file)
@@ -3,7 +3,7 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2016                                |
+ | Copyright CiviCRM LLC (c) 2004-2017                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -112,7 +112,7 @@ function _civicrm_api3_note_get_spec(&$params) {
  * @return array
  *   Nested associative array beginning with direct children of given note.
  */
-function &civicrm_api3_note_tree_get($params) {
+function civicrm_api3_note_tree_get($params) {
   civicrm_api3_verify_mandatory($params, NULL, array('id'));
 
   if (!is_numeric($params['id'])) {