fix error when uploading music

These methods are called statically so make them static.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
This commit is contained in:
Florian Pritz 2011-09-22 18:30:22 +02:00
parent 2267b6e97d
commit 9c550e8e9f
1 changed files with 2 additions and 2 deletions

View File

@ -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'])) {