i18nblocks.module line 102:

/**
 * Implementation of hook_form_FORM_ID_alter().
 */
function i18nblocks_form_block_box_delete_alter(&$form, $form_state) {
  $delta = db_result(db_query('SELECT ibid FROM i18n_blocks WHERE delta = %d', arg(4)));
  $form['delta'] = array(
    '#type' => 'value',
    '#value' => $delta,
  );
  $form['#submit'][] = 'i18nblocks_block_delete_submit';
}

You need to wrap that tablename in curley braces otherwise things break when using table prefixs. Change:

...SELECT ibid FROM i18n_blocks WHERE delta...

to:

...SELECT ibid FROM {i18n_blocks} WHERE delta...

Comments

jose reyero’s picture

Status: Active » Fixed

You're right, thanks for pointing this out.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.