Changeset 2022904
- Timestamp:
- 01/31/2019 05:45:32 PM (7 years ago)
- Location:
- zotero-notes/trunk
- Files:
-
- 2 edited
-
class.zotero-notes-citation.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
zotero-notes/trunk/class.zotero-notes-citation.php
r2022854 r2022904 210 210 211 211 if ( isset($this->_editor) ) { 212 $html .= ", ".__('on','zotero-notes')." <i>".$this->_editor."</i>"; 212 $editor = $this->_editor; 213 if ( strcmp("", $editor) == 0 ) { 214 $editor = parse_url($this->_url, PHP_URL_HOST); 215 } 216 $html .= " ".__('on','zotero-notes')." <i>".$editor."</i>"; 217 213 218 } 214 219 … … 218 223 219 224 if ( isset($this->_date) ) { 220 $html .= ", ".mysql2date( get_option( 'date_format' ), $this->_date); 225 if ( strcmp("", $this->_date) ) { 226 $html .= ", ".mysql2date( get_option( 'date_format' ), $this->_date); 227 } 221 228 } 222 229 -
zotero-notes/trunk/readme.txt
r2022854 r2022904 51 51 == Changelog == 52 52 53 = 1.0.3 ( a) =53 = 1.0.3 (b) = 54 54 Display function updated (when author is empty) 55 55
Note: See TracChangeset
for help on using the changeset viewer.