Skip to content

Commit

Permalink
fix: reduce 'maxlength' of 'per_refill' to '9' since it stored as 'IN…
Browse files Browse the repository at this point in the history
…T' (max value is '2147483647') (openemr#7315) (openemr#7316)

Co-authored-by: Joshua Joseph <[email protected]>
  • Loading branch information
bradymiller and tackyunicorn authored Apr 4, 2024
1 parent d4277ce commit 939236b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/prescription/general_edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@
&nbsp; &nbsp; # {xlt t='of tablets'}:
</div>
<div class="col">
<input class="input-sm form-control" type="text" id="per_refill" name="per_refill" size="2" maxlength="10" value="{$prescription->per_refill|attr}" />
<input class="input-sm form-control" type="text" id="per_refill" name="per_refill" size="2" maxlength="9" value="{$prescription->per_refill|attr}" />
</div>
{/if}
</div>
Expand Down

0 comments on commit 939236b

Please sign in to comment.