Merge branch 'dev' into test.customwristbands.cz
This commit is contained in:
@@ -221,6 +221,9 @@ class EditContent extends Controller
|
||||
->with('error', trans('admin/contents.invalidPage'));
|
||||
}
|
||||
|
||||
// change url to something unique
|
||||
$page->url = uniqid($page->url.'_');
|
||||
|
||||
list ($revision, $changedColumns) = $page->updateWithHistory(['status' => 'status'], ['status' => Content::STATUS_DELETED]);
|
||||
|
||||
// was something changed?
|
||||
|
||||
Reference in New Issue
Block a user