Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
3537b416
Commit
3537b416
authored
Apr 18, 2019
by
Cecilia Vela Gurovic
Browse files
Bug 1635503: DB ids when saving framework
behatnotneeded Change-Id: I0da0f1a960d07fd0671ad4ffa0379e0e7ddec63b
parent
4d1b9bd4
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/module/framework/lib.php
View file @
3537b416
...
...
@@ -337,7 +337,9 @@ class Framework {
}
}
$standardsvars
=
array
(
'shortname'
,
'name'
,
'description'
);
if
(
isset
(
$this
->
standards
)
&&
is_array
(
$this
->
standards
))
{
$uniqueids
=
array
();
foreach
(
$this
->
standards
[
'standards'
]
as
$key
=>
$standard
)
{
$sfordb
=
new
stdClass
();
$sfordb
->
framework
=
$this
->
id
;
...
...
@@ -363,7 +365,7 @@ class Framework {
$standard
->
options
=
$standard
->
standardelement
;
}
if
(
$sid
&&
isset
(
$standard
->
options
)
&&
is_array
(
$standard
->
options
))
{
$uniqueids
=
array
();
$priority
=
0
;
foreach
(
$standard
->
options
as
$option
)
{
$priority
++
;
...
...
Cecilia Vela Gurovic
@ceciliavg
mentioned in commit
7f8e18ff
·
Apr 23, 2019
mentioned in commit
7f8e18ff
mentioned in commit 7f8e18ff7a9f49574114f7c1af66c48993007cd8
Toggle commit list
Write
Preview
Supports
Markdown
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