mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-02-06 00:08:41 +00:00
fix tests
This commit is contained in:
parent
88654a8e34
commit
4293201299
|
|
@ -151,7 +151,7 @@ final class CliController extends Controller
|
|||
foreach ($mapper->executeYield() as $setting) {
|
||||
$decrypted = empty($data['old']) || empty($setting->content)
|
||||
? $setting->content
|
||||
: EncryptionHelper::decryptShared($setting->content ?? '', $data['old']);
|
||||
: EncryptionHelper::decryptShared($setting->content, $data['old']);
|
||||
|
||||
$encrypted = empty($data['new']) || empty($decrypted)
|
||||
? $decrypted
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user