Skip to content

Commit

Permalink
Fix type error in add_edit_lot file (openemr#7669)
Browse files Browse the repository at this point in the history
  • Loading branch information
lamn5 authored Dec 13, 2024
1 parent 9ea20c6 commit c35f11f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions interface/drugs/add_edit_lot.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ function genWarehouseList($tag_name, $currvalue, $title, $class = '')
return $count;
}

$drug_id = $_REQUEST['drug'] + 0;
$lot_id = $_REQUEST['lot'] + 0;
$drug_id = (int)$_REQUEST['drug'];
$lot_id = (int)$_REQUEST['lot'];
$info_msg = "";

$form_trans_type = intval(isset($_POST['form_trans_type']) ? $_POST['form_trans_type'] : '0');
Expand Down

0 comments on commit c35f11f

Please sign in to comment.