Skip to content

Commit

Permalink
Fixed a bug with staticpages in case of PostgreSQL
Browse files Browse the repository at this point in the history
  • Loading branch information
mystralkk committed May 17, 2021
1 parent f858f92 commit 893dd6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/staticpages/services.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@ function service_get_staticpages($args, &$output, &$svc_msg)
$topic_perms .= " GROUP BY sp_id, sp_title, sp_page_title, sp_content, sp_onhits, sp_onlastupdate, sp_hits, "
. "created, modified, sp_format, commentcode, structured_data_type, meta_description, meta_keywords, template_flag, template_id, page_data, "
. "draft_flag, search, owner_id, group_id, perm_owner, perm_group, perm_members, perm_anon, sp_help, sp_php, "
. "sp_inblock,cache_time";
. "sp_inblock, cache_time, sp_prev, sp_next, sp_parent";

$sql = <<<SQL
SELECT sp_id, sp_title, sp_page_title, sp_content, sp_onhits, sp_onlastupdate, sp_hits, created, modified, sp_format,
Expand Down

0 comments on commit 893dd6d

Please sign in to comment.