This commit is contained in:
Shish 2010-02-02 00:54:55 +00:00
parent 155f3cf9e8
commit 898f1e1f73

View File

@ -400,7 +400,7 @@ class Image {
else {
$query = "SELECT id FROM tags WHERE tag = ?";
}
$id = $database->db->GetOne($query, args($tag));
$id = $database->db->GetOne($query, array($tag));
if(empty($id)) {
// a new tag
$database->execute(