summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxue <>2007-08-11 14:33:23 +0000
committerxue <>2007-08-11 14:33:23 +0000
commita3514628a569c0b601f4abe41a831d34df32f677 (patch)
tree7b34f7846a1825a3f910b49e593b3c27fdd1c80e
parent2143fc9d208c82a43cf9ea39f13c724e99f66d16 (diff)
dd
-rw-r--r--framework/Web/TUrlMapping.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/TUrlMapping.php b/framework/Web/TUrlMapping.php
index 960f32a3..987e725d 100644
--- a/framework/Web/TUrlMapping.php
+++ b/framework/Web/TUrlMapping.php
@@ -384,7 +384,7 @@ class TUrlMappingPattern extends TComponent
/**
* @var string url pattern to match.
*/
- private $_pattern='';
+ private $_pattern;
/**
* @var TMap parameter regular expressions.
*/
@@ -570,7 +570,7 @@ class TUrlMappingPattern extends TComponent
*/
public function supportCustomUrl($getItems)
{
- if(!$this->_customUrl || $this->getPattern()==='')
+ if(!$this->_customUrl || $this->getPattern()===null)
return false;
foreach($this->_parameters as $key=>$value)
{