From 2157ae5323261476ffc67c41e58455feaf6bbecc Mon Sep 17 00:00:00 2001 From: javalizard <> Date: Sun, 18 Apr 2010 04:35:48 +0000 Subject: Ensured parent::__construct calls within Security --- framework/Security/TAuthorizationRule.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'framework/Security/TAuthorizationRule.php') diff --git a/framework/Security/TAuthorizationRule.php b/framework/Security/TAuthorizationRule.php index 896ce376..2f050340 100644 --- a/framework/Security/TAuthorizationRule.php +++ b/framework/Security/TAuthorizationRule.php @@ -4,7 +4,7 @@ * * @author Qiang Xue * @link http://www.pradosoft.com/ - * @copyright Copyright © 2005-2008 PradoSoft + * @copyright Copyright © 2005-2010 PradoSoft * @license http://www.pradosoft.com/license/ * @version $Id$ * @package System.Security @@ -74,6 +74,7 @@ class TAuthorizationRule extends TComponent */ public function __construct($action,$users,$roles,$verb='',$ipRules='') { + parent::__construct(); $action=strtolower(trim($action)); if($action==='allow' || $action==='deny') $this->_action=$action; -- cgit v1.2.3