From 53445ba6bdd1cde780f4a3d84cbb061cb6b72df9 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Mon, 20 Nov 2017 18:14:44 -0800 Subject: fix album cover thumb generator --- Zotlabs/Thumbs/Mp3audio.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Zotlabs/Thumbs/Mp3audio.php b/Zotlabs/Thumbs/Mp3audio.php index d2e660cf8..000d65b22 100644 --- a/Zotlabs/Thumbs/Mp3audio.php +++ b/Zotlabs/Thumbs/Mp3audio.php @@ -2,7 +2,7 @@ namespace Zotlabs\Thumbs; -use ID3Parser\ID3Parser; +use \ID3Parser\ID3Parser; class Mp3audio { @@ -11,7 +11,7 @@ class Mp3audio { } function Thumb($attach,$preview_style,$height = 300, $width = 300) { - $p = newID3Parser(); + $p = new ID3Parser(); $id = $p->analyze(dbunescbin($attach['content'])); -- cgit v1.2.3