Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom patient report cleanup (Fixes: #5744, #5765, #5766) #5751

Merged
merged 6 commits into from
Oct 1, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Minor escaping fix, thanks Brady!
  • Loading branch information
tsimonq2 committed Sep 30, 2022
commit 9c899a366161c3b8489354267d21105beac9343f
2 changes: 1 addition & 1 deletion library/options.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -3520,7 +3520,7 @@ function getLayoutProperties($formtype, &$grparr, $sel = "grp_title", $limit = n
}
$gres = sqlStatement("SELECT $sel FROM layout_group_properties WHERE grp_form_id = ? " .
" ORDER BY grp_group_id " .
($limit ? "LIMIT " . $limit : ""), array($formtype));
($limit ? "LIMIT " . escape_limit($limit) : ""), array($formtype));
while ($grow = sqlFetchArray($gres)) {
// TBD: Remove this after grp_init_open column is implemented.
if ($sel == '*' && !isset($grow['grp_init_open'])) {
Expand Down