This website works better with JavaScript.
Home
Explore
Help
Sign In
public
/
autodoc
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
modify primary page
master
Pascal Gloor
5 years ago
parent
62f5a94c1c
commit
55d4a045e9
1 changed files
with
4 additions
and
0 deletions
Split View
Show Diff Stats
4
0
cgi/autodoc.fcgi
+ 4
- 0
cgi/autodoc.fcgi
View File
@@ -406,6 +406,10 @@ sub api_v1_PATCH_documents_id {
$qs->{name}, $id);
}
if ( exists $qs->{primarypage} ) {
sqlquery($dbh, "CALL set_primary_page(?)", $qs->{primarypage});
}
return (200);
}
Write
Preview
Loading…
Cancel
Save