Changeset 1227:8fd3c2ccada5 for inc/core/class.dc.blog.php
- Timestamp:
- 07/25/13 09:12:41 (12 years ago)
- Branch:
- ticket#1404
- Children:
- 1228:ead1a1502e66, 1406:ad3be5923d8b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/core/class.dc.blog.php
r1111 r1227 2267 2267 2268 2268 if ($cur->comment_site !== null && $cur->comment_site != '') { 2269 if (!preg_match('|^http(s?)://| ',$cur->comment_site)) {2269 if (!preg_match('|^http(s?)://|i',$cur->comment_site, $matches)) { 2270 2270 $cur->comment_site = 'http://'.$cur->comment_site; 2271 }else{ 2272 $cur->comment_site = strtolower($matches[0]).substr($cur->comment_site, strlen($matches[0])); 2271 2273 } 2272 2274 }
Note: See TracChangeset
for help on using the changeset viewer.