diff --git a/include/class.user.php b/include/class.user.php index 6145e09e0834ca8d81114fc77a1c109256cdeea7..92b78838f4f19b26ecb89fe8a426f66c10810609 100644 --- a/include/class.user.php +++ b/include/class.user.php @@ -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')); }