Skip to content

Commit

Permalink
Update displays_info_controller.php
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxudo committed Mar 29, 2023
1 parent 6269465 commit 1d98d79
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions displays_info_controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ public function index()
**/
public function get_data($serial = '')
{
// Remove non-serial number characters
$serial = preg_replace("/[^A-Za-z0-9_\-]]/", '', $serial);

$obj = new View();

if (! $this->authorized()) {
Expand Down

0 comments on commit 1d98d79

Please sign in to comment.