From 546c88980485b0341746ca0310daa39e071bb647 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Thu, 14 Jun 2018 17:00:03 +0100 Subject: [PATCH] lib/php/db/field.php --- lib/php/db/field.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/php/db/field.php b/lib/php/db/field.php index b06226b0..75776d7f 100644 --- a/lib/php/db/field.php +++ b/lib/php/db/field.php @@ -129,7 +129,7 @@ class field extends nb { $h = ''; $class = [ 'label', $this->name ]; - $mime = Mime::getContent($value); + $mime = Mime::fromContent($value); if ($mime) $class[] = $mime; if ($this->extras) { -- 2.47.3