Skip to content
Permalink
Browse files

fixes #2 avoids break when tag to import contains a single quote

  • Loading branch information...
plegall committed Jun 20, 2019
1 parent b47ece6 commit 1604c052f9be4cb7bd98b2d52f67badfa52ccd0b
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin_update.php
@@ -125,7 +125,7 @@ function ppmu_remove_utf8_bom($text)
{
continue;
}
$tag_id = tag_id_from_tag_name($tag);
$tag_id = tag_id_from_tag_name(pwg_db_real_escape_string($tag));
array_push($tags_of[$image_id], $tag_id);
}
}

0 comments on commit 1604c05

Please sign in to comment.
You can’t perform that action at this time.