Skip to content

Commit

Permalink
Merge pull request smarty-php#65 from think-ahead/ticket-#5313-upgrad…
Browse files Browse the repository at this point in the history
…e-php5-to-php7-fix-note-18

Redmine-#5313:[レスポンス改善] サーバーサイドをPHP5→PHP7にアップグレードする(fix note 18)
  • Loading branch information
think-katou authored Sep 15, 2021
2 parents 66b854f + c2358ae commit 8f163d9
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions app/controllers/servers_controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -10044,20 +10044,15 @@ function wsSendMail($sessionid, $from, $to, $cc, $bcc, $subject, $body)
* @param string $transcode
* @return return_storeTransactionInformation
*/
function wsSearchJikaiYoyaku($sessionid, $storecode, $ccode, $transcode)
function wsSearchJikaiYoyaku($sessionid, $storecode, $ccode = null, $transcode = null)
{
if ($param['ignoreSessionCheck'] <> 1) {
//-- セッションを確認してデータベース名を取り込む (Verify Session and Get DB name)
$storeinfo = $this->YoyakuSession->Check($this);
if ($storeinfo == false) {
$this->_soap_server->fault(1, '', INVALID_SESSION);
return;
}
} else {
$storeinfo['dbname'] = $param['dbname'];
//-- セッションを確認してデータベース名を取り込む (Verify Session and Get DB name)
$storeinfo = $this->YoyakuSession->Check($this);
if ($storeinfo == false) {
$this->_soap_server->fault(1, '', INVALID_SESSION);
return;
}


//-- 会社データベースを設定する (Set the Company Database)
$this->StoreTransaction->set_company_database($storeinfo['dbname'], $this->StoreTransaction);

Expand Down

0 comments on commit 8f163d9

Please sign in to comment.