drachels/moodle-mod_hotquestion

Anonymous posts no longer work.

miotto opened this issue · 3 comments

Anonymous posts no longer work since commit 190b060
In file view.php in line 172 the parameter anonymous is set to NULL.
Replace the line
if($fromform->anonymous = NULL) {
with
if (isset($fromform->anonymous) && $fromform->anonymous) {

Info: The element $newentry is actually never used.

Sorry to take so long to reply. Having problems with my riding lawn mower and had to load it up and take it to another town for repair. Then spent hours with a technician trying to figure out what is wrong with my house air conditioner. Seems that a big chunk of the inside unit will have to be replaced. The condenser drip pan has sprung a leak in two places and the condenser has developed a pin hole causing a slow freon leak. The thing is less than three years old and this should not be happening.

Anyway, thanks for your input. I hate to say this but that release was made while my wife was in the terminal phase of pancreatic cancer. When I look at the code, I can see that it has other problems that need to be addressed. I will see what I can do.

Just created branch, MOODLE_410_BETA_RC1, that includes the fix for anonymous posts and also adds grades and completion capabilities. It does still have a bunch of debugging code in it that I will remove after some more testing.

Due to all the health problems I have had lately, I forgot to close this as being fixed in current versions.