in reply to Re^2: Weird Scratch Pad Glitch (found)
in thread Weird Scratch Pad Glitch
Line 10 is:
$query->param('node', "$user\'s scratchpad");
which changes a global which changes what page the user gets sent to not based on what page the user wanted to go to. Save and restore the value of this parameter so that after this code is run the CGI parameters are as the user requested.
Perhaps a worse problem is that we have tons of never-used user pages and the way scratchpads were implemented means that any time anyone visits one of these pages a blank and useless scratchpad is created. It'd be wise to avoid creating a node for any scratchpad that is empty (but don't delete a scratchpad node just because it is empty).
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Weird Scratch Pad Glitch (found)
by demerphq (Chancellor) on Jun 05, 2004 at 13:31 UTC |