mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Extravar.class 에서 homepage type value가 없을시 http:// 붙이지 않도록 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6043 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
b284783566
commit
fc873d41f6
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@
|
|||
if(!isset($value)) return;
|
||||
switch($type) {
|
||||
case 'homepage' :
|
||||
if(!preg_match('/^([a-z]+):\/\//i',$value)) $value = 'http://'.$value;
|
||||
if($value && !preg_match('/^([a-z]+):\/\//i',$value)) $value = 'http://'.$value;
|
||||
return htmlspecialchars($value);
|
||||
break;
|
||||
case 'tel' :
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue