Review main Merged

61892[BUGFIX] Prevent broken AND where statement in cObj->searchWhere()

Christian Eßl CR +2 V +2 Easy +24 −5 updated 10/10/19, 14:46

Commit message

If searchWhere() in ContentObjectRenderer is called with search words
that are smaller than 3 characters in length, a broken " AND " where
statement will be returned, that, if put inside a database query, would
lead to a fatal error. In such a case, return an empty string to prevent addWhere call.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 3