silly mistake
This commit is contained in:
parent
168cf3b9d4
commit
9332312ce9
|
@ -167,8 +167,9 @@ function localize_item(&$item){
|
|||
}
|
||||
}
|
||||
$matches = null;
|
||||
if(preg_match_all('/@[url=(.*?)]/is',$item['body'],$matches,PREG_SET_ORDER)) {
|
||||
if(preg_match_all('/@\[url=(.*?)\]/is',$item['body'],$matches,PREG_SET_ORDER)) {
|
||||
foreach($matches as $mtch) {
|
||||
if(! strpos($mtch[1],'zrl='))
|
||||
$item['body'] = str_replace($mtch[0],'@[url=' . zrl($mtch[1]). ']',$item['body']);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user