This commit is contained in:
zotlabs 2019-11-14 14:47:15 -08:00
parent b0eb7e2c6d
commit cec2f36e76
2 changed files with 4 additions and 2 deletions

View file

@ -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'] ];
}
}
}

View file

@ -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;