Fixed a bug in the EM.
authortmaroschik <tmaroschik@735d13b6-9817-0410-8766-e36946ffe9aa>
Wed, 1 Feb 2012 12:32:17 +0000 (12:32 +0000)
committertmaroschik <tmaroschik@735d13b6-9817-0410-8766-e36946ffe9aa>
Wed, 1 Feb 2012 12:32:17 +0000 (12:32 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/identity/trunk@57100 735d13b6-9817-0410-8766-e36946ffe9aa

Classes/Utility/ExtensionManager.php

index c62deec..298a2bb 100644 (file)
@@ -106,7 +106,7 @@ class Tx_Identity_Utility_ExtensionManager {
                // get a diff and check if a field uuid is missing somewhere
                $diff = $installer->getDatabaseExtra($tableDefinitions, $FDdb);
                $update_statements = $installer->getUpdateSuggestions($diff);
-               if (empty($update_statements)) {
+               if (!isset($update_statements['add']) && !empty($update_statements['add'])) {
                        return FALSE;
                }
                $update_statements['add'] = $installer->filterByIdentityField($update_statements['add']);