Skip to content

Commit

Permalink
Merge remote-tracking branch 'remotes/origin/master' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
namiltd committed Aug 30, 2016
2 parents 59ed06a + 80ab415 commit c30115f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/mdstatus/class.mdstatus.inc.php
Expand Up @@ -140,7 +140,7 @@ public function execute()
} else {
$this->_result['devices'][$dev]['algorithm'] = -1;
}
if (preg_match('/\[([0-9]+)\/([0-9]+)\]/', $optionline, $res))
if (preg_match('/\[([0-9]+)\/([0-9]+)\]/', $optionline, $res)) {
$this->_result['devices'][$dev]['registered'] = $res[1];
$this->_result['devices'][$dev]['active'] = $res[2];
} else {
Expand Down

0 comments on commit c30115f

Please sign in to comment.