try another fix
This commit is contained in:
parent
ea71d4ae1b
commit
9e47968a59
@ -173,7 +173,7 @@ class Package extends ActiveRecord
|
||||
$oldAttributes = $this->oldAttributes;
|
||||
if (!$oldAttributes) {
|
||||
foreach ($this->attributes as $name => $value) {
|
||||
if (isset($names[$name])) {
|
||||
if (!empty($names[$name])) {
|
||||
$attributes[$name] = $value;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user