Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
mahara
mahara
Commits
aa0dd863
Commit
aa0dd863
authored
Nov 28, 2013
by
Robert Lyon
Committed by
Gerrit Code Review
Nov 28, 2013
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Update the urlid of a copied page (Bug 1058416)" into 1.6_STABLE
parents
a72fc7e1
62001373
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
htdocs/lib/view.php
htdocs/lib/view.php
+4
-0
No files found.
htdocs/lib/view.php
View file @
aa0dd863
...
...
@@ -265,6 +265,10 @@ class View {
$view
->
set
(
'dirty'
,
true
);
}
$view
->
urlid
=
generate_urlid
(
$view
->
title
,
get_config
(
'cleanurlviewdefault'
),
3
,
100
);
$viewdata
[
'owner'
]
=
$userid
;
$view
->
urlid
=
self
::
new_urlid
(
$view
->
urlid
,
(
object
)
$viewdata
);
try
{
$copystatus
=
$view
->
copy_contents
(
$template
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment