From 4e1540be3d7e3fd5bfa78dd763462928fa1a69b5 Mon Sep 17 00:00:00 2001 From: Chris Leppanen <chris.leppanen@gmail.com> Date: Sun, 13 Jul 2014 13:24:12 -0700 Subject: [PATCH] Issue #1997768 by mikel1: Fixed Will not accept Context. --- lib/Drupal/feeds_xpathparser/ParserBase.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Drupal/feeds_xpathparser/ParserBase.php b/lib/Drupal/feeds_xpathparser/ParserBase.php index c7d5098..1cb8230 100644 --- a/lib/Drupal/feeds_xpathparser/ParserBase.php +++ b/lib/Drupal/feeds_xpathparser/ParserBase.php @@ -586,6 +586,7 @@ abstract class ParserBase extends FeedsParserBase implements FormInterface, Feed * The previous value of use_errors. */ protected function errorStart() { + libxml_clear_errors(); return libxml_use_internal_errors(TRUE); } -- GitLab