Skip to content
Snippets Groups Projects
Commit 398d4ca2 authored by Jared Hancock's avatar Jared Hancock
Browse files

oops: __onload is not called for new ORM objects

parent ab2a9d9b
Branches
Tags
No related merge requests found
......@@ -594,7 +594,8 @@ class UserAccountModel extends VerySimpleModel {
var $_status;
function __onload() {
function __construct() {
call_user_func_array(array('parent', '__construct'), func_get_args());
$this->_status = new UserAccountStatus($this->get('status'));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment