19: 2014-05-15 (木) 15:39:54 iseki |
20: 2014-05-16 (金) 11:46:27 iseki |
| - see http://docs.moodle.org/24/en/SSL_certificate_for_moodle.org | | - see http://docs.moodle.org/24/en/SSL_certificate_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/analysis_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 |
| | | |
| - [[ 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/analysis_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 |