Skip to content

Commit 9602abf

Browse files
committed
!410 - udpate.
1 parent 4a00547 commit 9602abf

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,6 @@ system/.keys
2323
system/.dbkeys
2424
composer
2525
!external/composer
26-
!external/composer.json
26+
!external/composer.json
27+
apps/*
28+
!apps/Core/

system/Base/BasePackage.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -847,6 +847,10 @@ public function update(array $data, $resetCache = true)
847847
return;
848848
}
849849

850+
if (isset($data['updated_on'])) {
851+
unset($data['updated_on']);
852+
}
853+
850854
${$this->packageNameModel}->assign($data);
851855

852856
$update = ${$this->packageNameModel}->update();

0 commit comments

Comments
 (0)