Review TYPO3_6-2 Merged

32257[BUGFIX] Avoid DB error on writing to log

Wouter Wolters CR +2 V +2 Easy +1 −1 updated 08/20/14, 08:17

Commit message

The writeLog() function of the ErrorHandler tries to log the IP that
caused the error. On CLI there is no IP hence a NULL value is being
tried to insert into the DB, where the DB field is NOT NULL.

Fix this by casting the IP to a string.

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 1