Skip to content
Permalink
Browse files

Update mercury.class.php

  • Loading branch information...
directman66 committed Jan 29, 2019
1 parent 02022c7 commit 2dd80c7236456e008d21c83bff9b5dcc08d71f05
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/mercury/mercury.class.php
@@ -697,7 +697,7 @@ function getinfo($id) {
$res = $this->read($socket);
//$sn = hexdec($this->dd($res[1])).hexdec($this->dd($res[2])).hexdec($this->dd($res[3])).hexdec($this->dd($res[4]));
$sn = str_pad($hexdec($this->dd($res[1])),2,"0",STR_PAD_LEFT).str_pad(hexdec($this->dd($res[2])),2,"0",STR_PAD_LEFT).str_pad(hexdec($this->dd($res[3])),2,"0",STR_PAD_LEFT).str_pad(hexdec($this->dd($res[4])),2,"0",STR_PAD_LEFT);
$sn = str_pad(hexdec($this->dd($res[1])),2,"0",STR_PAD_LEFT).str_pad(hexdec($this->dd($res[2])),2,"0",STR_PAD_LEFT).str_pad(hexdec($this->dd($res[3])),2,"0",STR_PAD_LEFT).str_pad(hexdec($this->dd($res[4])),2,"0",STR_PAD_LEFT);
$made = hexdec($this->dd($res[5])).".".hexdec($this->dd($res[6])).".".hexdec($this->dd($res[7]));

0 comments on commit 2dd80c7

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.