-
Bug
-
Resolution: Fixed
-
3.0.5
-
None
-
PHP Environment: 5.2.9
Database: sqlite 2.8.17
Let's say we have 2 users A and B.
A sends to B a private message.
B get's deleted.
A wants to export his sent private messages.
It fails with the following error message:
[phpBB Debug] PHP Notice: in file /includes/ucp/ucp_pm_viewfolder.php on line 408: Invalid argument supplied for foreach()
I upload a simple workaround patch.
I, also, upload a Selenium IDE script to demonstrate the problem. Please, keep in my mind that you may need to change the relative URL of your local test phpBB installation (currently it is set to /phpbb/phpBB/ on line 16). Also, you need to disable CAPTCHA from your administration control panel in order to automate the user creation procedure. Finally, you need to have an administrator account with credentials admin:123456 or you need to alter the script.