Integer-Optionen ohne Min./Max-Werte in option.xml

  • Affected App
    WoltLab Suite Core

    Nicht wirklich ein großer Fehler, aber weil drum gebeten:

    Es gibt in der option.xml einige Options mit Optiontype Integer, bei denen keine minvalue / maxvalue angegeben sind. Fehleingaben (z.B. negative Werte) führen möglicherweise zu Exceptions; z.B. wenn Datenbankabfragen darauf basieren. Beispiel:


    ==>

    Could not execute prepared statement: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-7' at line 2

    Gruß, Udo

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!