Reply to thread

This is a combination of two problems;

  • An alert template owned by a disabled add-on will be loaded.
  • There appears to be no way to check if an entity implements a particular getter/function from templates.

This means custom alerts will error if the UserAlert is extended, or any entity which gets passed to the alert is extended due.


empty() doesn't function like php-code, can't call offsetExists, or isset to guard against a template accessing something they shouldn't.


Back
Top Bottom