diff --git a/autoload/.DS_Store b/autoload/.DS_Store new file mode 100644 index 0000000..3239922 Binary files /dev/null and b/autoload/.DS_Store differ diff --git a/autoload/admin/factory/class.Articles.php b/autoload/admin/factory/class.Articles.php index e00b5a4..7f748ed 100644 --- a/autoload/admin/factory/class.Articles.php +++ b/autoload/admin/factory/class.Articles.php @@ -280,9 +280,8 @@ class Articles $mdb -> update( 'pp_articles', [ 'show_title' => $show_title == 'on' ? 1 : 0, 'show_date_add' => $show_date_add == 'on' ? 1 : 0, - 'date_add' => $date_add, 'show_date_modify' => $show_date_modify == 'on' ? 1 : 0, - 'date_modify' => $date_modify, + 'date_modify' => date( 'Y-m-d H:i:s' ), 'modify_by' => $user['id'], 'layout_id' => $layout_id ? (int)$layout_id : null, 'status' => $status == 'on' ? 1 : 0, @@ -290,7 +289,7 @@ class Articles 'social_icons' => $social_icons == 'on' ? 1 : 0, 'show_table_of_contents' => $show_table_of_contents == 'on' ? 1 : 0, ], [ - 'id' => (int)$article_id + 'id' => (int)$article_id ] ); foreach ( $title as $key => $val ) diff --git a/autoload/front/.DS_Store b/autoload/front/.DS_Store new file mode 100644 index 0000000..7285fd1 Binary files /dev/null and b/autoload/front/.DS_Store differ