flagflag  If you want to see English page, please click "English" Button at Left.
19: 2014-05-15 (木) 15:39:54 iseki ソース 20: 2014-05-16 (金) 11:46:27 iseki ソース
Line 51: Line 51:
- see http://docs.moodle.org/24/en/SSL_certifi​cate_for_moodle.org - see http://docs.moodle.org/24/en/SSL_certifi​cate_for_moodle.org
- http://curl.haxx.se/ca/cacert.pem から cacert.pem をダウンロードし,moodledata/moodleorgca.crt として保存する. - http://curl.haxx.se/ca/cacert.pem から cacert.pem をダウンロードし,moodledata/moodleorgca.crt として保存する.
 +#br
 +*** 2.6.3 [#u46e2536]
 +- 小テストの統計の各設問表示でPHPのエラー
 +- 2.6.2 では問題なし
 +- question/classes/statistics/responses/an​alysis_for_class.php
 +- $onlyactualresponse はクラスインスタンスなのに (string)$onlyactualresponse とか してる.おいおい.
 + --- analysis_for_class.php.orig 2014-05-15 15:31:31.938393184 +0900
 + +++ analysis_for_class.php      2014-05-15 15:32:04.524281160 +0900
 + @@ -107,7 +107,8 @@
 +             return true;
 +         } else if (count($this->actualresponses) == 1) {
 +             $onlyactualresponse = reset($this->actualresponses);
 + -            return (string)$onlyactualresponse != $this->modelresponse;
 + +            return !$onlyactualresponse->response_matches($​this->modelresponse);
 + +            //return (string)$onlyactualresponse != $this->modelresponse;
 +         }
 +         return false;
 +     }
#br #br
Line 72: Line 90:
- [[ for 1.9>./memo/1.9]] - [[ for 1.9>./memo/1.9]]
- [[ for 2.x>./memo/2.x]] - [[ for 2.x>./memo/2.x]]
-#br 
- 
-** Bugs [#qeeebb07] 
-*** 2.6.3 [#k598d246] 
-- 小テストの統計の各設問表示でPHPのエラー 
-- 2.6.2 では問題なし 
-- question/classes/statistics/responses/an​alysis_for_class.php 
-- $onlyactualresponse はクラスインスタンスなのに (string)$onlyactualresponse とか してる.おいおい. 
- --- analysis_for_class.php.orig 2014-05-15 15:31:31.938393184 +0900 
- +++ analysis_for_class.php      2014-05-15 15:32:04.524281160 +0900 
- @@ -107,7 +107,8 @@ 
-             return true; 
-         } else if (count($this->actualresponses) == 1) { 
-             $onlyactualresponse = reset($this->actualresponses); 
- -            return (string)$onlyactualresponse != $this->modelresponse; 
- +            return !$onlyactualresponse->response_matches($​this->modelresponse); 
- +            //return (string)$onlyactualresponse != $this->modelresponse; 
-         } 
-         return false; 
-     } 
#br #br
** Index [#je9eba5c] ** Index [#je9eba5c]
#ls2 #ls2


トップ   新規 ページ一覧 単語検索 最終更新   ヘルプ   最終更新のRSS 1.0 最終更新のRSS 2.0 最終更新のRSS Atom

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2024年 4月翌月
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
<今日>

オンライン状況

51 人のユーザが現在オンラインです。 (9 人のユーザが xpwiki を参照しています。)

登録ユーザ: 0
ゲスト: 51

もっと...

アクセスカウンタ

今日 : 7478747874787478
昨日 : 2042920429204292042920429
総計 : 2338688423386884233868842338688423386884233868842338688423386884
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com