Changeset 3874:ab8368569446 for inc/core/class.dc.rs.extensions.php
- Timestamp:
- 09/14/18 12:16:17 (7 years ago)
- Branch:
- default
- File:
-
- 1 edited
-
inc/core/class.dc.rs.extensions.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
inc/core/class.dc.rs.extensions.php
r3731 r3874 348 348 { 349 349 if ($encoded) { 350 return strtr($rs->user_email, array('@' => '%40', '.' => '%2e'));350 return strtr($rs->user_email, ['@' => '%40', '.' => '%2e']); 351 351 } 352 352 return $rs->user_email; … … 577 577 578 578 if ($rs->core->blog->settings->system->comments_nofollow) { 579 $res = preg_replace_callback('#<a(.*?href=".*?".*?)>#ms', array('self', 'noFollowURL'), $res);579 $res = preg_replace_callback('#<a(.*?href=".*?".*?)>#ms', ['self', 'noFollowURL'], $res); 580 580 } 581 581 … … 655 655 { 656 656 if ($encoded) { 657 return strtr($rs->comment_email, array('@' => '%40', '.' => '%2e'));657 return strtr($rs->comment_email, ['@' => '%40', '.' => '%2e']); 658 658 } 659 659 return $rs->comment_email; … … 864 864 return $options; 865 865 } 866 return array();866 return []; 867 867 } 868 868 … … 920 920 $this->sortsign = strtolower($order) == 'asc' ? 1 : -1; 921 921 922 usort($this->__data, array($this, 'lexicalSortCallback'));922 usort($this->__data, [$this, 'lexicalSortCallback']); 923 923 924 924 $this->sortfield = null;
Note: See TracChangeset
for help on using the changeset viewer.
