diff options
author | xue <> | 2007-08-11 14:33:23 +0000 |
---|---|---|
committer | xue <> | 2007-08-11 14:33:23 +0000 |
commit | a3514628a569c0b601f4abe41a831d34df32f677 (patch) | |
tree | 7b34f7846a1825a3f910b49e593b3c27fdd1c80e /framework/Web/TUrlMapping.php | |
parent | 2143fc9d208c82a43cf9ea39f13c724e99f66d16 (diff) |
dd
Diffstat (limited to 'framework/Web/TUrlMapping.php')
-rw-r--r-- | framework/Web/TUrlMapping.php | 4 |
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)
{
|