Review main Merged

64997[BUGFIX] Handle null values correctly to avoid PHP errors

Johannes Schlier CR +2 V +2 Easy +24 −1 updated 07/07/20, 09:11

Commit message

The new RteHtmlParser->transformTextForPersistence() method
expects a string value. Before this patch the given value
was simply passed without checking its type or casting it.

However, if "null" is handed in (by e.g. a translated record which
expects null), null is now kept.

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 2