Fixed extra braces from merge fuckery

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2021-10-20 17:36:06 -07:00
parent aa8f1378c9
commit ae1a4bb3c9

View file

@ -784,11 +784,11 @@ class Asset extends Depreciable
foreach ($assets as $asset) {
$results = preg_match("/\d+$/", $asset['asset_tag'], $matches);
if ($results) {
if ($results)
{
$number = $matches[0];
if ($number > $max) {
if ($number > $max)
{
$max = $number;
}