Index: branches/5.2.x/core/install/upgrades.php =================================================================== diff -u -N -r14714 -r14811 --- branches/5.2.x/core/install/upgrades.php (.../upgrades.php) (revision 14714) +++ branches/5.2.x/core/install/upgrades.php (.../upgrades.php) (revision 14811) @@ -1,6 +1,6 @@ Conn->TableFound('PageContent')) { + if ($this->Conn->TableFound('PageContent', true)) { // 1. replaces "/kernel/user_files/" references in content blocks $ml_helper =& $this->Application->recallObject('kMultiLanguageHelper'); /* @var $ml_helper kMultiLanguageHelper */ @@ -993,7 +993,7 @@ } // 2. process "PageContent" table - if ($this->Conn->TableFound(TABLE_PREFIX . 'PageContent')) { + if ($this->Conn->TableFound(TABLE_PREFIX . 'PageContent', true)) { $structure = $this->Conn->Query('DESCRIBE ' . TABLE_PREFIX . 'PageContent', 'Field'); if (!array_key_exists('l1_Translated', $structure)) { $sql = "ALTER TABLE " . TABLE_PREFIX . "PageContent @@ -1007,7 +1007,7 @@ } // 3. process "FormFields" table - if ($this->Conn->TableFound(TABLE_PREFIX . 'FormFields')) { + if ($this->Conn->TableFound(TABLE_PREFIX . 'FormFields', true)) { $structure = $this->Conn->Query('DESCRIBE ' . TABLE_PREFIX . 'FormFields', 'Field'); if (!$structure['FormId']['Key']) { $sql = "ALTER TABLE " . TABLE_PREFIX . "FormFields @@ -1027,7 +1027,7 @@ } // 4. process "FormSubmissions" table - if ($this->Conn->TableFound(TABLE_PREFIX . 'FormSubmissions')) { + if ($this->Conn->TableFound(TABLE_PREFIX . 'FormSubmissions', true)) { $structure = $this->Conn->Query('DESCRIBE ' . TABLE_PREFIX . 'FormSubmissions', 'Field'); if (!$structure['SubmissionTime']['Key']) { $sql = "ALTER TABLE " . TABLE_PREFIX . "FormSubmissions @@ -1444,7 +1444,7 @@ $ml_helper->createFields('emailevents'); $languages = $ml_helper->getLanguages(); - if ($this->Conn->TableFound(TABLE_PREFIX . 'EmailMessage')) { + if ($this->Conn->TableFound(TABLE_PREFIX . 'EmailMessage', true)) { $email_message_helper =& $this->Application->recallObject('EmailMessageHelper'); /* @var $email_message_helper EmailMessageHelper */