Skip to content

A free open source IT asset/license management system

Fixed typo in variable name

snipeffba9789b725
diff --git a/app/Models/Asset.php b/app/Models/Asset.php
index 25aee2e5ee..bf4d89e41e 100644
--- a/app/Models/Asset.php
+++ b/app/Models/Asset.php
@@ -438,7 +438,7 @@ class Asset extends Depreciable
if ($settings->zerofill_count > 0) {
return $settings->auto_increment_prefix.Asset::zerofill($settings->next_auto_tag_base, $settings->zerofill_count);
}
- return $settings->auto_increment_prefix.$settings->next_auto_tag_bas;
+ return $settings->auto_increment_prefix.$settings->next_auto_tag_base;
} else {
return false;
}