Changeset 268 for trunk/patTemplate.php
- Timestamp:
- 08/19/04 10:22:51 (4 years ago)
- Files:
-
- trunk/patTemplate.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/patTemplate.php
r267 r268 1668 1668 $this->_fetchVariables($var[0]); 1669 1669 1670 if( isset( $this->_templates[$var[0]]['vars'][$var[1]] ) && !empty( $this->_templates[$var[0]]['vars'][$var[1]] ))1670 if( isset( $this->_templates[$var[0]]['vars'][$var[1]] ) && strlen( $this->_templates[$var[0]]['vars'][$var[1]] ) > 0 ) 1671 1671 continue; 1672 1672 … … 1740 1740 * get the value from the template variables 1741 1741 */ 1742 if( !isset( $this->_templates[$_template]['vars'][$value] ) || empty( $this->_templates[$_template]['vars'][$value] ))1742 if( !isset( $this->_templates[$_template]['vars'][$value] ) || strlen( $this->_templates[$_template]['vars'][$value] ) === 0 ) 1743 1743 { 1744 1744 if( $this->_templates[$template]['attributes']['useglobals'] == 'yes' || $this->_templates[$template]['attributes']['useglobals'] == 'useglobals' ) 1745 1745 { 1746 if( isset( $this->_globals[$value] ) && !empty( $this->_globals[$value] ))1746 if( isset( $this->_globals[$value] ) && strlen( $this->_globals[$value] ) > 0 ) 1747 1747 { 1748 1748 $value = $this->_globals[$value];
