flagflag  
19: 2014-05-15 (Thu) 15:39:54 iseki source 20: 2014-05-16 (Fri) 11:46:27 iseki source
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


Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthApr 2024Next Month
Su Mo Tu We Th Fr Sa
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
Today

Who's Online

34 user(s) are online (9 user(s) are browsing xpwiki)

Members: 0
Guests: 34

more...

Access Counter

Today : 9615961596159615
Yesterday : 1889718897188971889718897
Total : 2342321223423212234232122342321223423212234232122342321223423212
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com