Explorar o código

Merge pull request #9 from arshidkv12/patch-1

Required param not allowed after optional (Part 3)
Andrew Sachen %!s(int64=3) %!d(string=hai) anos
pai
achega
aa9db50ad9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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='') {