Fixed a bug during installation in extensionmanager, reported by Fabien.
authortmaroschik <tmaroschik@735d13b6-9817-0410-8766-e36946ffe9aa>
Mon, 6 Feb 2012 07:50:20 +0000 (07:50 +0000)
committertmaroschik <tmaroschik@735d13b6-9817-0410-8766-e36946ffe9aa>
Mon, 6 Feb 2012 07:50:20 +0000 (07:50 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/identity/trunk@57364 735d13b6-9817-0410-8766-e36946ffe9aa

Classes/Utility/ExtensionManager.php

index 298a2bb..74b8cc7 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 (!isset($update_statements['add']) && !empty($update_statements['add'])) {
+               if (!isset($update_statements['add'])) {
                        return FALSE;
                }
                $update_statements['add'] = $installer->filterByIdentityField($update_statements['add']);