[ticket/12640] Preserve the active tab when previewing in posting page.

PHPBB3-12640
Merge remote-tracking branch 'prototech/ticket/12640' into develop-ascraeus

* prototech/ticket/12640:
  [ticket/12640] Preserve the active tab when previewing in posting page.
Merge pull request #2526 from Nicofuma/ticket/12639

[ticket/12639] Delete entry in admin-log leads to mysql-error

* Nicofuma/ticket/12639:
  [ticket/12639] Add a space in the code generated by generate_sql_keyword()
  [ticket/12639] Handle $conditions['keywords'] outside of the loop
  [ticket/12639] Don't make a copy of $marked when deleting logs in acp_logs
  [ticket/12639] Send a correct IN entry when deleting marked logs
  [ticket/12639] Use assertSame
  [ticket/12639] Remove old commented tests
  [ticket/12639] Order the results correctly in the test
  [ticket/12639] Fix tests on postgres
  [ticket/12639] Update tests to use a dataProvider
  [ticket/12639] Add a test case with an empty keywords list
  [ticket/12639] Delete entry in admin-log leads to mysql-error