mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 11:05:49 +02:00
dc6ea3934d
If HTMLPurifier is missing, a fatal error is giving for a missing class. This results in comments essentially not working. The fix is simple and has already been done in 2.0 - as the package is optional we can simply check if the classname exists before trying to use it, or do nothing. |
||
---|---|---|
.. | ||
admin | ||
controllers | ||
extensions | ||
model | ||
Commenting.php |