diff --git a/docroot/sites/all/modules/contrib/mollom/mollom.module b/docroot/sites/all/modules/contrib/mollom/mollom.module index 2c1a071..93709af 100644 --- a/docroot/sites/all/modules/contrib/mollom/mollom.module +++ b/docroot/sites/all/modules/contrib/mollom/mollom.module @@ -624,7 +624,13 @@ function mollom_data_save($data) { ':entity' => $data->entity, ':id' => $data->id, ))->fetchField(); - drupal_write_record('mollom', $converted, $update ? array('entity', $update) : array()); + + try { + drupal_write_record('mollom', $converted, $update ? array('entity', $update) : array()); + } + catch (Exception $ex) { + //do nothing + } // Pass unconverted data to other modules for backwards compatibility. if (!$update) {