summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-12-18 10:15:48 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-12-18 10:15:48 +0000
commit1dc58a9d96485fd10b0ba5b2b9bd8a26167e77c0 (patch)
treea90ef44289f152be7689be0aed059f9ca507c970 /lib
parente1f4caae38d0c26435655420ff18c48d88832b3e (diff)
downloadampache-1dc58a9d96485fd10b0ba5b2b9bd8a26167e77c0.tar.gz
ampache-1dc58a9d96485fd10b0ba5b2b9bd8a26167e77c0.tar.bz2
ampache-1dc58a9d96485fd10b0ba5b2b9bd8a26167e77c0.zip
fixed comment update snafu problem (missed a stripslash)
Diffstat (limited to 'lib')
-rw-r--r--lib/class/song.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/song.class.php b/lib/class/song.class.php
index 655c03be..d857e68a 100644
--- a/lib/class/song.class.php
+++ b/lib/class/song.class.php
@@ -312,7 +312,7 @@ class Song {
$array['change'] = true;
$array['text'] .= "<br />" . _("Year") . " [$song->year] " . _("updated to") . " [$new_song->year]\n";
} // if year
- if (trim($song->comment) != trim(stripslashes($new_song->comment))) {
+ if (trim(stripslashes($song->comment)) != trim(stripslashes($new_song->comment))) {
$array['change'] = true;
$array['text'] .= "<br />" . _("Comment") . " [$song->comment] " . _("updated to") . " [$new_song->comment]\n";
} // if comment