Procházet zdrojové kódy

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

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@1598 a333f486-631f-4898-b8df-5754b55c2be0
dflaven před 14 roky
rodič
revize
ea463edc17
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      modules/itop-attachments/module.attachments.php

+ 1 - 1
modules/itop-attachments/module.attachments.php

@@ -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())