getCollection(), $Automad->Shared); $fileResultsArray = $Search->searchPerFile(); $fileFieldsArray = array(); foreach ($fileResultsArray as $FileResults) { if ($dataFilePath === $FileResults->path || empty($dataFilePath)) { $fields = array(); foreach ($FileResults->fieldResultsArray as $FieldResults) { $fields[] = $FieldResults->field; } $fileFieldsArray[] = new FileFields($FileResults->path, $fields); } } $Replacement = new Replacement($searchValue, $replaceValue, true, false); $Replacement->replaceInFiles($fileFieldsArray); } } __halt_compiler();----SIGNATURE:----l7koXIs0q60Ty2reBF1k++KAQ40jAMPTU59cr7jv0ShHah6FD4eKTgOQMM8Vt749lBCagXOOt8N9pz1QgC9XmLe6B64t6aaCMM1YmYodkI3Tc62+5QC722aN2IlozpdftWZ+kGA4t93S1fVuoezBoZ/WfqL0GBySSZZzyW7nMtF0+0PC10y67MPGQBInisdfgyuuW9e4Go+95we1RXFNlOCDoncdEOPHut4XpoHB/3HDiOhCM0LhbMpfNXa7QXurbOaREdbomO2CMd1CBwgSFtrzXy71v7r8/iMgfnzQQNYLTMAcN6iN+IpJeA2g+P0+EpVkt9bmdK9f0wHpoLu1nygAfIJ8Dsli02cg+czN3cizDLS5K+0xtXABTRZYIfCcs6QzjqGFocUOQMCvXvg7ca3l/sUDODKV1JE6RpyEoHO3jDU1eHiHaPe3FeV/d12uaueWKqH4gnZKwNTuv2yMYxbep+/T5krHz9i/BsD0N+QV9w8kUP4FKPD87UqJI+mWWWm0Oer4IJXJTokPv54GNAJTEyfBYdPaYEyUX5thTTcJe00NVZCqYgcZzT+V23MKkPesH17tidNdyNvQ1rrW6Cg6NBGOYHh9vdsAsFOjZhz3A2BbG8vXaZPVXF4wxu29yG29AlJ94QazR6obRGh39EbPDsTqr8DsSG/56agLIis=----ATTACHMENT:----Nzc0MTkxMDU1MDA2MDA0NyAzMTMyNTcxNzQyNDU1NjAzIDMyMzk2MTEzMzYwMzE3NTM=