Fix bug introduced with 553368c, when clearing session _auto_number when need to allow for edits that doesnt have this set
Some checks failed
Create Docker Image / Test Application (x86_64) (push) Successful in 28s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 2m41s
Create Docker Image / Final Docker Image Manifest (push) Has been cancelled
Create Docker Image / Build Docker Image (x86_64) (push) Has been cancelled

This commit is contained in:
Deon George 2025-06-27 14:03:35 +10:00
parent 553368c7b9
commit 6f58f5db36

View File

@ -153,7 +153,7 @@ class HomeController extends Controller
}
// If there are an _auto_value attributes, we need to invalid those
foreach ($request->get('_auto_value') as $attr => $value) {
foreach ($request->get('_auto_value',[]) as $attr => $value) {
Log::debug(sprintf('%s:Removing auto_value attr [%s]',self::LOGKEY,$attr));
Cache::delete($attr.':'.Session::id());
}