mirror of
https://github.com/danpros/htmly.git
synced 2026-04-17 19:26:08 +05:30
Update htmly.php
This commit is contained in:
parent
a813ed3b38
commit
9de1b3f09a
1 changed files with 1 additions and 1 deletions
|
|
@ -957,7 +957,7 @@ post('/admin/autosave', function () {
|
||||||
$media = null;
|
$media = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($title) && !empty($tag) && !empty($content) && !empty($media)) {
|
if (!empty($title) && !empty($tag) && !empty($content)) {
|
||||||
if ($addEdit == 'add') {
|
if ($addEdit == 'add') {
|
||||||
$response = add_content($title, $tag, $url, $content, $user, $draft, $category, $type, $description, $media, $dateTime, $autoSave);
|
$response = add_content($title, $tag, $url, $content, $user, $draft, $category, $type, $description, $media, $dateTime, $autoSave);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue