Changeset 6904
- Timestamp:
- 11/04/08 01:21:04 (2 months ago)
- Files:
-
- 1 modified
-
trunk/library/components/Textcube.Data.Link.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/library/components/Textcube.Data.Link.php
r6087 r6904 19 19 $this->feed = 20 20 $this->registered = 21 $this->xfn = 21 22 null; 22 23 } … … 152 153 $query->setAttribute('written', $this->registered); 153 154 } 155 if (isset($this->xfn)) { 156 $this->xfn = UTF8::lessenAsEncoding(trim($this->xfn), 255); 157 if (empty($this->xfn)) 158 return $this->_error('xfn'); 159 $query->setAttribute('xfn', $this->xfn, true); 160 } 154 161 return $query; 155 162 }
