[vhffs-dev] [440] If I effectively remove \, it's better...

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 440
Author:   beuss
Date:     2007-02-04 13:58:37 +0000 (Sun, 04 Feb 2007)

Log Message:
-----------
If I effectively remove \, it's better...

Modified Paths:
--------------
    branches/vhffs_4.1/vhffs-compat/fix_desc.pl


Modified: branches/vhffs_4.1/vhffs-compat/fix_desc.pl
===================================================================
--- branches/vhffs_4.1/vhffs-compat/fix_desc.pl	2007-02-04 13:46:38 UTC (rev 439)
+++ branches/vhffs_4.1/vhffs-compat/fix_desc.pl	2007-02-04 13:58:37 UTC (rev 440)
@@ -11,5 +11,6 @@
 
 my $sth = $dbh->prepare('UPDATE vhffs_object SET description = ? WHERE object_id = ?');
 foreach(@{$rows}) {
+    $_->[1] =~ s/\\//g;
     $sth->execute($_->[1], $_->[0]) or warn "Unable to update object #$_->[0] (description $_->[1])";
 }


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/