fix: Test enhanced app with apikey
This commit is contained in:
parent
f576a82803
commit
82b209d4b5
1 changed files with 4 additions and 1 deletions
|
@ -408,7 +408,10 @@ class ItemController extends Controller
|
|||
$app = $single->class;
|
||||
|
||||
// If password is not resubmitted fill it from the database when in edit mode
|
||||
if ($data['password'] === null && array_key_exists('id', $data)) {
|
||||
if (array_key_exists('password', $data) &&
|
||||
$data['password'] === null &&
|
||||
array_key_exists('id', $data)
|
||||
) {
|
||||
$item = Item::find($data['id']);
|
||||
if ($item) {
|
||||
$itemConfig = $item->getConfig();
|
||||
|
|
Loading…
Reference in a new issue