fix argv stuff

This commit is contained in:
Matthew Exon 2022-05-07 19:33:34 +02:00
parent 55d6d5aec2
commit 09ae53d804

View file

@ -843,7 +843,7 @@ function retriever_content($a) {
return;
}
if (isset(DI::args()->getArgv()[1])) {
$arg1 = DI::args()->getArgv()[1]
$arg1 = DI::args()->getArgv()[1];
$retriever_rule = get_retriever_rule($arg1, local_user(), false);
if (!$retriever_rule) {
$retriever_rule = ['id' => 0, 'data' => ['enable' => 0, 'modurl' => '', 'pattern' => '', 'replace' => '', 'images' => 0, 'storecookies' => 0, 'cookiedata' => '', 'customxslt' => '', 'include' => '', 'exclude' => '']];