]> 91.132.146.200 Git - insipid.git/commitdiff
whoops
authorBanana <banana@starscream.de>
Mon, 20 Jun 2011 12:02:08 +0000 (14:02 +0200)
committerBanana <banana@starscream.de>
Mon, 20 Jun 2011 12:02:08 +0000 (14:02 +0200)
lib/Insipid/Bookmarks.pm
lib/Insipid/Tags.pm

index 13c4fb082a524209aed5f5d26a7c122ddfc96cb3..25bbf52d4889ec5ff5f1c63c363b449e80c287c1 100755 (executable)
@@ -85,7 +85,7 @@ sub add_bookmark {
        if($epoch eq 0) { $epoch = time; }
        $sth = $dbh->prepare($sql);
 
-       $sth->execute($url, $md5, $dbh->quote($title), $dbh->quote($description), $access_level, $epoch)
+       $sth->execute($url, $md5, $title, $description, $access_level, $epoch)
                or die $DBI::errstr;
        
        $icount++;
index 3b98a7ffae1160c47f5bbb1014cf87d3a813d820..0a5148dcca9553e98b2972565fe7b0de4902b698 100755 (executable)
@@ -304,7 +304,7 @@ sub set_tags {
            if ($tagcount < 1) {
                        my $sql = "insert into $tbl_tags (name) values(?)";
                        my $sth = $dbh->prepare($sql);
-                       $sth->execute($dbh->quote($cur));
+                       $sth->execute($cur);
            }
 
            # and fetch the tag ID