Skip to content

Commit

Permalink
Removed the validation debug line which allowed all barcode formats
Browse files Browse the repository at this point in the history
  • Loading branch information
seantomburke committed Feb 10, 2014
1 parent 9a07c8f commit 306ae27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/classes/Barcode.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function validate(){
$this->error = 'The barcode <strong>'.$this->code.'</strong> is not valid';
}

return true; //use this to bypass barcode validation
//return true; //use this to bypass barcode validation
return $value;
}

Expand Down

0 comments on commit 306ae27

Please sign in to comment.