mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 02:35:12 +00:00
typo
This commit is contained in:
parent
b0eb7e2c6d
commit
cec2f36e76
2 changed files with 4 additions and 2 deletions
|
@ -193,7 +193,7 @@ class Notifier {
|
|||
self::$recipients[] = $recip['abook_xchan'];
|
||||
self::$private = false;
|
||||
self::$packet_type = 'refresh';
|
||||
self::$env_recips = [ $$recip['xchan_hash'] ];
|
||||
self::$env_recips = [ $recip['xchan_hash'] ];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
<?php
|
||||
|
||||
namespace Zotlabs\Lib;
|
||||
|
||||
use DomDocument;
|
||||
use Zotlabs\Lib\Config;
|
||||
|
||||
/**
|
||||
* SVGSantiizer
|
||||
|
@ -76,7 +78,7 @@ class SvgSanitizer {
|
|||
return false;
|
||||
}
|
||||
if (! $this->xmlDoc->loadXML($str)) {
|
||||
logger('loadxml: ' . print_r(libxml_get_errors(),true), LOGGER_DEBUG);
|
||||
logger('loadxml: ' . print_r(array_slice(libxml_get_errors(),0,Config::Get('system','svg_backtrace_limit',3)),true), LOGGER_DEBUG);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue