* finish task #4696.
This commit is contained in:
+1
-1
@@ -6,4 +6,4 @@ CREATE TABLE `zt_userview` (
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
|
||||
ALTER TABLE `zt_entry` ADD `account` VARCHAR(30) NOT NULL DEFAULT '' AFTER `code`;
|
||||
|
||||
UPDATE `zt_doc` set editedDate=addedDate, editedBy=addedBy where editedBy = '';
|
||||
|
||||
@@ -603,6 +603,8 @@ class docModel extends model
|
||||
$doc = fixer::input('post')
|
||||
->add('addedBy', $this->app->user->account)
|
||||
->add('addedDate', $now)
|
||||
->add('editedBy', $this->app->user->account)
|
||||
->add('editedDate', $now)
|
||||
->add('version', 1)
|
||||
->setDefault('product,project,module', 0)
|
||||
->stripTags($this->config->doc->editor->create['id'], $this->config->allowedTags)
|
||||
|
||||
Reference in New Issue
Block a user