diff --git a/app/controllers/servers_controller.php b/app/controllers/servers_controller.php index 05408d449..62e0512ca 100644 --- a/app/controllers/servers_controller.php +++ b/app/controllers/servers_controller.php @@ -10046,18 +10046,13 @@ function wsSendMail($sessionid, $from, $to, $cc, $bcc, $subject, $body) */ 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);