소스 검색

PHP 8 issue

Required parameter $error_code follows optional parameter $rpc_action
Arshid 3 년 전
부모
커밋
411813f6dc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/squirrelmail_rpc.php

+ 1 - 1
src/squirrelmail_rpc.php

@@ -218,7 +218,7 @@ if (!$handled_by_plugin) switch (strtolower($rpc_action)) {
   *                                 must also be provided).
   *
   */
-function sm_rpc_return_error($rpc_action=NULL, $error_code,
+function sm_rpc_return_error($rpc_action=NULL, $error_code='',
                              $error_text='', $guilty_party='',
                              $http_status_code=0, $http_status_text='') {