Fix wrong parameter
This commit is contained in:
parent
d6442ec991
commit
6f2d09eb20
@ -1111,8 +1111,7 @@ function linkify($s, $me = false) {
|
||||
function sslify($s) {
|
||||
|
||||
// Local photo cache
|
||||
$cacheon = get_config('system','photo_cache_enable', 0);
|
||||
if($cache && local_channel()) {
|
||||
if(get_config('system','photo_cache_enable', 0) && local_channel()) {
|
||||
$matches = null;
|
||||
$cnt = preg_match_all("/\<img(.+?)src=[\"|'](https?\:.*?)[\"|'](.*?)\>/", $s, $matches, PREG_SET_ORDER);
|
||||
if ($cnt) {
|
||||
|
Reference in New Issue
Block a user