Merge pull request #2554 from totten/4.4-settings-hook-dedupe
[civicrm-core.git] / CRM / Core / BAO / SchemaHandler.php
index ced8ebc623cd3e422b8ada9766a963df954cee79..79a148220bb28f207a40b6f81a9a90050cbe1a6b 100644 (file)
@@ -298,7 +298,7 @@ ALTER TABLE {$tableName}
       // logging support: if we’re adding a column (but only then!) make sure the potential relevant log table gets a column as well
       if ($params['operation'] == 'add') {
         $logging = new CRM_Logging_Schema;
-        $logging->fixSchemaDifferencesFor($params['table_name'], array($params['name']), FALSE);
+        $logging->fixSchemaDifferencesFor($params['table_name'], array('ADD' => array($params['name'])), FALSE);
       }
     }