From a5467e842316daf6a8a4345740f05a9731167ce1 Mon Sep 17 00:00:00 2001
From: xue <>
Date: Sat, 23 Sep 2006 01:51:57 +0000
Subject: merge from 3.0 branch till 1435.

---
 framework/Security/TAuthorizationRule.php | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'framework/Security')

diff --git a/framework/Security/TAuthorizationRule.php b/framework/Security/TAuthorizationRule.php
index b2f3c235..99684de0 100644
--- a/framework/Security/TAuthorizationRule.php
+++ b/framework/Security/TAuthorizationRule.php
@@ -77,7 +77,10 @@ class TAuthorizationRule extends TComponent
 			if(($user=trim(strtolower($user)))!=='')
 			{
 				if($user==='*')
+				{
 					$this->_everyone=true;
+					break;
+				}
 				else if($user==='?')
 					$this->_guest=true;
 				else
-- 
cgit v1.2.3