Hi Ken,
today I got a debug notice caused by your MOD. What did I do?
- I duplicated a topic which has two pages into another forum
- I went into the topic and from there into the MCP: mode=topic_view
- From the second page of the topic I deleted all posts except two. This deletion was a deletion forever, not a "soft" deletion.
- I went on the first page of the topic in MCP, selected ALL posts there and "soft deleted" them by using your MOD.
It has worked, but I got the following debug notice:
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1873: Undefined variable: last_post
I also get this notice when I look at the topic at the viewtopic page.
These are the lines 1870-1874 in my viewtopic.php:
Code: Select all
//-- mod: Prime Quick Reply -------------------------------------------------//
include($phpbb_root_path . 'includes/prime_quick_reply.' . $phpEx);
$prime_quick_reply = new prime_quick_reply();
$prime_quick_reply->display_form($topic_id, $forum_id, $topic_data, $last_post);
//-- end: Prime Quick Reply -------------------------------------------------//
Yes, that's the piece of code which includes your Quick Reply MOD but I guess the debug notice is caused by your Trash Bin MOD. (Or it's a bug in Olympus itself.)
Regards
Wolfgang
EDIT: I restored the 4th post on page 1 of the topic now, and the debug notice disappeared.