summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authordipsol <dipsol@ampache>2009-03-16 22:40:47 +0000
committerdipsol <dipsol@ampache>2009-03-16 22:40:47 +0000
commit5b1b03d042703711c9ea80956f0282a9c9c37817 (patch)
treedc2a152ac229d84a2a4cd15ea0ba4112789d8048 /modules
parentb86875d4c4165ad9d509482911f0b102e8d3948d (diff)
downloadampache-5b1b03d042703711c9ea80956f0282a9c9c37817.tar.gz
ampache-5b1b03d042703711c9ea80956f0282a9c9c37817.tar.bz2
ampache-5b1b03d042703711c9ea80956f0282a9c9c37817.zip
I had commit this one before through Vollmer. Don't know why its changed back. But this { really should be there. Else there are too many closing }.
Diffstat (limited to 'modules')
-rw-r--r--modules/getid3/write.id3v2.php11
1 files changed, 5 insertions, 6 deletions
diff --git a/modules/getid3/write.id3v2.php b/modules/getid3/write.id3v2.php
index f122b6b0..0a282a57 100644
--- a/modules/getid3/write.id3v2.php
+++ b/modules/getid3/write.id3v2.php
@@ -11,8 +11,8 @@
// +----------------------------------------------------------------------+
// | getID3() - http://getid3.sourceforge.net or http://www.getid3.org |
// +----------------------------------------------------------------------+
-// | Authors: James Heinrich <infoØgetid3*org> |
-// | Allan Hansen <ahØartemis*dk> |
+// | Authors: James Heinrich <info�getid3*org> |
+// | Allan Hansen <ah�artemis*dk> |
// +----------------------------------------------------------------------+
// | write.id3v1.php |
// | writing module for id3v1 tags |
@@ -374,9 +374,8 @@ class getid3_write_id3v2 extends getid3_handler_write
}
// rewrite file - no tag present or new tag longer than old tag
- else
-
- if (!$fp_source = @fopen($this->filename, 'rb')) {
+ else {
+ if (!$fp_source = @fopen($this->filename, 'rb')) {
throw new getid3_exception('Could not open '.$this->filename.' mode "rb"');
}
fseek($fp_source, $engine->info['avdataoffset'], SEEK_SET);
@@ -1745,7 +1744,7 @@ class getid3_write_id3v2 extends getid3_handler_write
static public function is_hash($var) {
- // written by dev-nullØchristophe*vg
+ // written by dev-null�christophe*vg
// taken from http://www.php.net/manual/en/function.array-merge-recursive.php
if (is_array($var)) {
$keys = array_keys($var);