In function simple_access::simple_access_save_group() db_next_id is used without table prefix.

    $edit['gid'] = db_next_id('simple_access_gid');

Should probably look like this:

    $edit['gid'] = db_next_id('{simple_access_groups}_gid');

Comments

Robrecht Jacques’s picture

Status: Active » Reviewed & tested by the community
StatusFileSize
new866 bytes

Patch attached.

gordon’s picture

Status: Reviewed & tested by the community » Fixed

Thanks commited to cvs.

Anonymous’s picture

Status: Fixed » Closed (fixed)

  • Commit 4cc9298 on 5.x-1.x, 5.x-2.x, 6.x-2.x, master, 8.x-3.x by gordon:
    #53485 - added table prefixes to db_next_id()