Permalink
Browse files

Fixed a dbh->quote bug on editing songs.

  • Loading branch information...
1 parent 01a5669 commit f2a8ce0e1d30939a25de2207e847f7f4fb30f627 @minter committed Sep 1, 2005
Showing with 1 addition and 4 deletions.
  1. +1 −0 ChangeLog
  2. +0 −4 mrvoice.pl
View
@@ -1,6 +1,7 @@
Thu Sep 1 2005 H. Wade Minter (minter@lunenburg.org)
* Fixed another bug where empty artists/info was showing up as the
string "NULL".
+ * Fixed a dbh->quote bug on editing songs.
* Tagged 2.1.2
Wed Aug 31 2005 H. Wade Minter (minter@lunenburg.org)
View
@@ -2866,10 +2866,6 @@ sub edit_song
print "Showed\n" if $debug;
if ( $result eq "Edit" )
{
- $edit_artist = $dbh->quote($edit_artist);
- $edit_title = $dbh->quote($edit_title);
- $edit_info = $dbh->quote($edit_info);
-
my $query = sprintf(
"UPDATE mrvoice SET artist = %s, title = %s, info = %s, category = %s, modtime=(SELECT strftime('%%s','now')) WHERE id=%s",
$dbh->quote($edit_artist), $dbh->quote($edit_title),

0 comments on commit f2a8ce0

Please sign in to comment.