Stop passing componentTable and ids by reference
authorSeamus Lee <seamuslee001@gmail.com>
Fri, 13 Sep 2019 03:52:49 +0000 (13:52 +1000)
committerSeamus Lee <seamuslee001@gmail.com>
Fri, 13 Sep 2019 03:52:49 +0000 (13:52 +1000)
CRM/Utils/Hook.php

index 39bca82735f27d45ea66eebb6ba344a3562e3816..a8cd7e18d564a3db75fd3c3f4ed1f4038eb7a518 100644 (file)
@@ -1368,7 +1368,7 @@ abstract class CRM_Utils_Hook {
    *
    * @return mixed
    */
-  public static function export(&$exportTempTable, &$headerRows, &$sqlColumns, &$exportMode, &$componentTable, &$ids) {
+  public static function export(&$exportTempTable, &$headerRows, &$sqlColumns, &$exportMode, $componentTable, $ids) {
     return self::singleton()->invoke(['exportTempTable', 'headerRows', 'sqlColumns', 'exportMode', 'componentTable', 'ids'],
       $exportTempTable, $headerRows, $sqlColumns,
       $exportMode, $componentTable, $ids,