diff --git a/core/imageboard/image.php b/core/imageboard/image.php index 90dc50e4..f72b6918 100644 --- a/core/imageboard/image.php +++ b/core/imageboard/image.php @@ -106,7 +106,7 @@ class Image implements \ArrayAccess // it isn't static and it isn't a known prop_type - // maybe from an old extension that has since been // disabled? Just ignore it. - if(UNITTEST) { + if(defined('UNITTEST')) { throw new \Exception("Unknown column $name in images table"); } }