Browse Source

Standards

pull/2932/head
Hypolite Petovan 4 years ago
parent
commit
e29023dc8c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      include/text.php

+ 1
- 1
include/text.php View File

@ -1182,7 +1182,7 @@ function redir_private_images($a, &$item)
$cnt = preg_match_all('|\[img\](http[^\[]*?/photo/[a-fA-F0-9]+?(-[0-9]\.[\w]+?)?)\[\/img\]|', $item['body'], $matches, PREG_SET_ORDER);
if ($cnt) {
foreach ($matches as $mtch) {
if(strpos($mtch[1], '/redir') !== false) {
if (strpos($mtch[1], '/redir') !== false) {
continue;
}


Loading…
Cancel
Save