Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-12639

Delete entry in admin-log leads to mysql-error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.1.0-RC1
    • 3.1.0-dev
    • ACP
    • None

      phpBB 3.1.0-dev #1522

      If you go to:
      ACP --> maintenance --> forum logs --> admin log --> delete all

      the error appears:

      SQL ERROR [ mysqli ]  
       
      You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND log_type = 0' at line 2 [1064]  SQL  DELETE FROM phpbb_log WHERE log_type = 0 AND AND log_type = 0
      

      Problem is related to: https://github.com/phpbb/phpbb/commit/40218ba5e6597d0ea83fe154259f72ff8d8190c0

            bantu Andreas Fischer [X] (Inactive)
            Crizzo Crizzo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: