typo
This commit is contained in:
parent
155f3cf9e8
commit
898f1e1f73
@ -400,7 +400,7 @@ class Image {
|
|||||||
else {
|
else {
|
||||||
$query = "SELECT id FROM tags WHERE tag = ?";
|
$query = "SELECT id FROM tags WHERE tag = ?";
|
||||||
}
|
}
|
||||||
$id = $database->db->GetOne($query, args($tag));
|
$id = $database->db->GetOne($query, array($tag));
|
||||||
if(empty($id)) {
|
if(empty($id)) {
|
||||||
// a new tag
|
// a new tag
|
||||||
$database->execute(
|
$database->execute(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user