In the actions.inc file, the last function, actions_delete(), uses the %d modifier for a varchar column (aid), when it should be %s.

Thus,

function actions_delete($aid) {
  db_query("DELETE FROM {actions} WHERE aid = %d", $aid);
  module_invoke_all('actions_delete', $aid);
}

Becomes,

/**
 * Delete a single action from the database.
 *
 * @param $aid
 *   integer The ID of the action to delete.
 */
function actions_delete($aid) {
  db_query("DELETE FROM {actions} WHERE aid = '%s'", $aid);
  module_invoke_all('actions_delete', $aid);
}

Comments

Pomliane’s picture

Status: Active » Closed (won't fix)

This version of Actions is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.

This issue has been automagically closed by a script.