Commit 21d0189
Declare \$cmid, \$cmidnumber, \$courseid on questionnaire class
These fields are set via the constructor object-copy loop (from
Moodle's generator framework output and test helpers). The
property_exists() guard introduced earlier silently dropped them;
declaring them explicitly restores the prior behaviour.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent bc1ebbf commit 21d0189
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
99 | 108 | | |
100 | 109 | | |
101 | 110 | | |
| |||
0 commit comments