This commit is contained in:
Paula Quispe
2018-07-31 08:45:54 -04:00
parent da1aa2552d
commit 35edd12b65
10 changed files with 249 additions and 65 deletions

View File

@@ -67,7 +67,7 @@ abstract class BaseAddonsManager extends BaseObject implements Persistent
* The value for the addon_state field.
* @var string
*/
protected $addon_state;
protected $addon_state = '';
/**
* The value for the addon_state_changed field.
@@ -536,7 +536,7 @@ abstract class BaseAddonsManager extends BaseObject implements Persistent
$v = (string) $v;
}
if ($this->addon_state !== $v) {
if ($this->addon_state !== $v || $v === '') {
$this->addon_state = $v;
$this->modifiedColumns[] = AddonsManagerPeer::ADDON_STATE;
}