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