diff options
author | Florian Pritz <bluewind@xinu.at> | 2011-09-22 18:30:22 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2011-09-24 18:41:44 +0200 |
commit | 9c550e8e9f52efa9c117ef1b577386e555010547 (patch) | |
tree | f115fffae433b987428199b10efa18922becd29f /apps/media | |
parent | 2267b6e97d49656d16b880d78363f9e0c9c5fba1 (diff) | |
download | nextcloud-server-9c550e8e9f52efa9c117ef1b577386e555010547.tar.gz nextcloud-server-9c550e8e9f52efa9c117ef1b577386e555010547.zip |
fix error when uploading music
These methods are called statically so make them static.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'apps/media')
-rw-r--r-- | apps/media/getID3/getid3/getid3.lib.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/media/getID3/getid3/getid3.lib.php b/apps/media/getID3/getid3/getid3.lib.php index 4ed5e361f50..9322cae4dd8 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'])) { |