Skip to content

Commit

Permalink
bugfix barcodes (#1683)
Browse files Browse the repository at this point in the history
fix label printing barcode 500 error
  • Loading branch information
GregoryPost authored Aug 29, 2024
1 parent 71f9b8e commit bd855cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collections/reports/barcodes.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
include_once($SERVER_ROOT.'/classes/OccurrenceLabel.php');
header("Content-Type: text/html; charset=".$CHARSET);

$collid = filter($_POST['collid'], FILTER_SANITIZE_NUMBER_INT);
$collid = filter_var($_POST['collid'], FILTER_SANITIZE_NUMBER_INT);
$action = array_key_exists('submitaction',$_POST)?$_POST['submitaction']:'';

$labelManager = new OccurrenceLabel();
Expand Down

0 comments on commit bd855cd

Please sign in to comment.