待辦事項 #9293

typo? in SoapClient.class.php
啟用日期: 2006-10-31 12:19 最後更新: 2006-11-01 15:48

回報者:
負責人:
狀態:
關閉
元件:
(無)
里程碑:
(無)
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
Accepted
檔案:

細節

/modules/legacy/lib/ShadePlus/SoapClient.class.php

のL37にある

if (!defined('XCube_AbstractServiceClient')) exit();

はdefinedじゃなく

if (!class_exists('XCube_AbstractServiceClient')) exit
();

ではないですか?
いちおうgrepしてみたけど,
XCube_AbstractServiceClient
なんて定数はどこにも定義されてないみたいです。


また,すぐ下にあるL39 & L43で

class ShadePlus_SoapClient extends
XCube_AbstractServiceClient

function Shade_SoapClient(&$service)

みたいにclass名とコンストラクタっぽいものの名前が食い違
ってます。
このcalssを利用している
/modules/legacy/preload/Primary/NuSoapLoader.class.php
では

require_once
XOOPS_ROOT_PATH . "/modules/legacy/lib/ShadePlus/SoapCl
ient.class.php";
$client = new Shade_SoapClient($service);

ってなってるからコンストラクタっぽいのが正解なのかな
ぁ?

Ticket History (3/3 Histories)

2006-10-31 12:31 Updated by: mumincacao
評語
Logged In: YES
user_id=24376

忘れ物っていうか追加でL88にある

$arr[$Key] = $languageManager->decodeUTF8($val);

の$keyの k が大文字になってます。
2006-11-01 13:42 Updated by: minahito
  • 負責人 Update from (無) to minahito
  • 處理結果 Update from to Accepted
評語
Logged In: YES
user_id=8353

ご報告ありがとうございます。
こりゃひどいことになってますね;;
2006-11-01 15:48 Updated by: minahito
  • Ticket Close date is changed to 2006-11-01 15:48
  • 狀態 Update from 開啟 to 關閉
評語
Logged In: YES
user_id=8353

Fixed

Attachment File List

No attachments

編輯

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登入