Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-12639

Delete entry in admin-log leads to mysql-error

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-dev
    • Fix Version/s: 3.1.0-RC1
    • Component/s: ACP
    • Labels:
      None

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bantu Andreas Fischer
                Reporter:
                Crizzo Crizzo
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: