XMB Forum Software
Not logged in [Login - Register]
Go To Bottom

Printable Version  
Author: Subject: [Critical] Patch for Pruning
kuba1
XMB Project Manager
*********




Posts: 161
Registered: 12-16-2007
Location: Here on this forum ;)
Member Is Offline

Mood: No Mood

[*] posted on 9-7-2009 at 07:19 PM
[Critical] Patch for Pruning


Anyone using XMB 1.9.11 that intends to use pruning must make this change.

In CP2.php

find:

Code:
$db->query("DELETE FROM ".X_PREFIX."favorites WHERE IN ($tids)");


Replace with:

Code:
$db->query("DELETE FROM ".X_PREFIX."favorites WHERE tid IN ($tids)");


This has been corrected in the download package.

Thank you deep_blue for the bug report!



Hit this link often (Part of the XMB forum marketing campaign):

http://www.forummatrix.org/show/XMB

Testing the Signature Changing Code
View user's profile Visit user's homepage View All Posts By User
miqrogroove
XMB 1.9.12 Lead Developer
*********


Avatar


Posts: 462
Registered: 10-1-2002
Location: Florida
Member Is Offline

Mood: Past Three O'Clock

[*] posted on 1-24-2010 at 05:10 AM
[Critical] Patch for Pruning


Issue #331

Bug Source: XMB-1.9.11.00.zip through XMB-1.9.11.06.zip

Symptoms: Using the Prune feature from the Control Panel page causes all favorite threads data to disappear.

Security Impact: None.

Workaround: It is recommended that you do not use the prune feature until the patch is applied.

Fixed By: XMB-1.9.11.07.zip and later are not affected.

Patch: Attachment: XMB-1.9.11-prune-critical.patch.txt (685B)
This file has been downloaded 563 times
View user's profile Visit user's homepage View All Posts By User

  Go To Top

Powered by XMB 1.9.12 (Debug Mode)
XMB Forum Software © 2001-2024 The XMB Group
[Queries: 16] [PHP: 37.6% - SQL: 62.4%]