...
This commit is contained in:
parent
bdb6001f3f
commit
f4bba2e9ed
@ -986,6 +986,9 @@ function post(array $post) {
|
||||
if ($post['op']) {
|
||||
$query->bindValue(':slug', slugify($post));
|
||||
}
|
||||
else {
|
||||
$query->bindValue(':slug', NULL);
|
||||
}
|
||||
|
||||
if (!$query->execute()) {
|
||||
undoImage($post);
|
||||
|
Loading…
Reference in New Issue
Block a user