From 5bd62b5d538a5e375bebbcdea0ffef3384143895 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sat, 9 Feb 2019 13:05:37 +0100 Subject: [PATCH] Fix thumbnails disabling if PHP GD is not installed --- application/Thumbnailer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/Thumbnailer.php b/application/Thumbnailer.php index a23f98e9..d5f5ac28 100644 --- a/application/Thumbnailer.php +++ b/application/Thumbnailer.php @@ -55,7 +55,7 @@ class Thumbnailer $this->conf = $conf; if (! $this->checkRequirements()) { - $this->conf->set('thumbnails.enabled', false); + $this->conf->set('thumbnails.mode', Thumbnailer::MODE_NONE); $this->conf->write(true); // TODO: create a proper error handling system able to catch exceptions... die(t(