Commit e4860610 by Nobuo Kihara

docs/guide/db-active-record.md - small change [ci skip]

parent 7881bba2
...@@ -346,7 +346,7 @@ of the active record class and set the values there. For example to set the defa ...@@ -346,7 +346,7 @@ of the active record class and set the values there. For example to set the defa
public function init() public function init()
{ {
parent::init(); parent::init();
$this->status = 'active'; $this->status = self::STATUS_ACTIVE;
} }
``` ```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment