mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-25 20:51:30 -08:00
Fixed extra braces from merge fuckery
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
aa8f1378c9
commit
ae1a4bb3c9
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue