X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=blobdiff_plain;ds=sidebyside;f=includes%2Fapi%2FApiQueryBase.php;h=44526e88b1e43d7ea7af8f54c7d8a458eb09e00a;hb=a9007e8baf802f0f57d095e3bb4ad201c98c0cb3;hp=baefbda3f13b05534a92462640512b0d71a359b7;hpb=53034b5e4a4dca2bc0b17962fee9a365362ee62c;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryBase.php b/includes/api/ApiQueryBase.php index baefbda3f1..44526e88b1 100644 --- a/includes/api/ApiQueryBase.php +++ b/includes/api/ApiQueryBase.php @@ -356,7 +356,6 @@ abstract class ApiQueryBase extends ApiBase { * @return ResultWrapper */ protected function select( $method, $extraQuery = [], array &$hookData = null ) { - $tables = array_merge( $this->tables, isset( $extraQuery['tables'] ) ? (array)$extraQuery['tables'] : [] @@ -479,7 +478,7 @@ abstract class ApiQueryBase extends ApiBase { /** * Add information (title and namespace) about a Title object to a * result array - * @param array $arr Result array à la ApiResult + * @param array &$arr Result array à la ApiResult * @param Title $title * @param string $prefix Module prefix */