From 9c550e8e9f52efa9c117ef1b577386e555010547 Mon Sep 17 00:00:00 2001
From: Florian Pritz <bluewind@xinu.at>
Date: Thu, 22 Sep 2011 18:30:22 +0200
Subject: [PATCH] fix error when uploading music

These methods are called statically so make them static.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
---
 apps/media/getID3/getid3/getid3.lib.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/apps/media/getID3/getid3/getid3.lib.php b/apps/media/getID3/getid3/getid3.lib.php
index 4ed5e361f5..9322cae4dd 100644
--- a/apps/media/getID3/getid3/getid3.lib.php
+++ b/apps/media/getID3/getid3/getid3.lib.php
@@ -1006,7 +1006,7 @@ class getid3_lib
 	}
 
 
-	function MultiByteCharString2HTML($string, $charset='ISO-8859-1') {
+	static function MultiByteCharString2HTML($string, $charset='ISO-8859-1') {
 		$HTMLstring = '';
 
 		switch ($charset) {
@@ -1187,7 +1187,7 @@ class getid3_lib
 		return (isset($ImageTypesLookup[$imagetypeid]) ? $ImageTypesLookup[$imagetypeid] : '');
 	}
 
-	function CopyTagsToComments(&$ThisFileInfo) {
+	static function CopyTagsToComments(&$ThisFileInfo) {
 
 		// Copy all entries from ['tags'] into common ['comments']
 		if (!empty($ThisFileInfo['tags'])) {
-- 
GitLab