Skip to content
Snippets Groups Projects
Commit 9c550e8e authored by Florian Pritz's avatar Florian Pritz
Browse files

fix error when uploading music


These methods are called statically so make them static.

Signed-off-by: default avatarFlorian Pritz <bluewind@xinu.at>
parent 2267b6e9
No related branches found
No related tags found
No related merge requests found
...@@ -1006,7 +1006,7 @@ class getid3_lib ...@@ -1006,7 +1006,7 @@ class getid3_lib
} }
function MultiByteCharString2HTML($string, $charset='ISO-8859-1') { static function MultiByteCharString2HTML($string, $charset='ISO-8859-1') {
$HTMLstring = ''; $HTMLstring = '';
switch ($charset) { switch ($charset) {
...@@ -1187,7 +1187,7 @@ class getid3_lib ...@@ -1187,7 +1187,7 @@ class getid3_lib
return (isset($ImageTypesLookup[$imagetypeid]) ? $ImageTypesLookup[$imagetypeid] : ''); return (isset($ImageTypesLookup[$imagetypeid]) ? $ImageTypesLookup[$imagetypeid] : '');
} }
function CopyTagsToComments(&$ThisFileInfo) { static function CopyTagsToComments(&$ThisFileInfo) {
// Copy all entries from ['tags'] into common ['comments'] // Copy all entries from ['tags'] into common ['comments']
if (!empty($ThisFileInfo['tags'])) { if (!empty($ThisFileInfo['tags'])) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment