- Fix a problem with the upgrade (case sensitive table name & prefix)

SVN:trunk[1598]
This commit is contained in:
Denis Flaven
2011-09-22 11:58:42 +00:00
parent 8ae92cb50e
commit 5ec37fd26a

View File

@@ -104,7 +104,7 @@ class AttachmentInstaller extends ModuleInstallerAPI
CMDBSource::Query($sRepair);
SetupWebPage::log_info("Initializing attachment/item_org_id - zero to the container");
$oSearch = DBObjectSearch::FromOQL("SELECT `$sTableName` WHERE item_org_id = 0");
$oSearch = DBObjectSearch::FromOQL("SELECT Attachment WHERE item_org_id = 0");
$oSet = new DBObjectSet($oSearch);
$iUpdated = 0;
while ($oAttachment = $oSet->Fetch())