Possible error when deleting first post of topic

current version: 1.0.4.1
released: 11.07.2011

latest tested phpBB-Version: 3.0.10

Possible error when deleting first post of topic

Postby javiexin » Sun Oct 23, 2011 12:33 pm

Hi,

First of all, thanks for the MOD, great addition!

I have found what seems to be an error on this MOD.

This happens when deleting the first post of a topic, in DEBUG mode you get an "index does not exist" error on "post_approved" in the following line of the includes/functions_posting.php file:
Code: Select all
if ($row['post_approved'] && $row['post_postcount'])


I think that the error may be solved by changing the above by:
Code: Select all
if ($data['post_approved'] && $data['post_postcount'])


Please, could you confirm this is the right way to correct this issue? Thanks and regards,
-javiexin
javiexin
Posts < 10
Posts < 10
 
Posts: 7
Topics: 4
Joined: Mon Oct 17, 2011 10:58 am
phpBB.com: javiexin

Re: Possible error when deleting first post of topic

Postby nickvergessen » Sun Oct 23, 2011 3:06 pm

Confirmed, although i have to check it a bit more, i think your fix is not a totally fix to the thing.
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5748
Topics: 217
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen


Return to NV usertopics

Who is online

Users browsing this forum: No registered users and 1 guest