mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
note before switching tasks
This commit is contained in:
parent
14358651e4
commit
b6fa6cba22
|
@ -305,6 +305,8 @@ class ValidationServiceProvider extends ServiceProvider
|
||||||
$options = $field->formatFieldValuesAsArray();
|
$options = $field->formatFieldValuesAsArray();
|
||||||
|
|
||||||
// temporarily decrypt for validation
|
// temporarily decrypt for validation
|
||||||
|
// so, this is breaking patches, i don't really get why.
|
||||||
|
// is it not encrypted here on an update? need to do more testing. :(
|
||||||
if($field->field_encrypted) {
|
if($field->field_encrypted) {
|
||||||
$value = Crypt::decrypt($value);
|
$value = Crypt::decrypt($value);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue