From bd87a02b43b815f99ab9400709d8269ac56c32f3 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sat, 10 Jun 2006 11:17:24 +0000 Subject: Fixed #221. --- framework/Web/Services/TPageService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'framework/Web/Services/TPageService.php') diff --git a/framework/Web/Services/TPageService.php b/framework/Web/Services/TPageService.php index af2ddce3..1df4ffde 100644 --- a/framework/Web/Services/TPageService.php +++ b/framework/Web/Services/TPageService.php @@ -695,7 +695,7 @@ class TPageConfiguration extends TComponent $ps=explode(',',$pages); foreach($ps as $p) { - if($page===trim($p)) + if(strcasecmp($page,trim($p))===0) { $ruleApplies=true; break; @@ -719,7 +719,7 @@ class TPageConfiguration extends TComponent $properties=$node->getAttributes(); if(($id=$properties->itemAt('id'))===null) throw new TConfigurationException('pageserviceconf_page_invalid',$configPath); - if($id===$page) + if(strcasecmp($id,$page)===0) $this->_properties=array_merge($this->_properties,$properties->toArray()); } } -- cgit v1.2.3