From a6fc48a429e2a99feae34806bf14c0d0d360bcb6 Mon Sep 17 00:00:00 2001 From: ChoboHub Date: Wed, 17 Aug 2016 16:31:21 -0400 Subject: [PATCH] Fix for php backward incompatible changes Newer versions of php would crash of this with the error "objects cannot be assigned by reference." --- fields/field.xml.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fields/field.xml.php b/fields/field.xml.php index e9a363e..57833ef 100755 --- a/fields/field.xml.php +++ b/fields/field.xml.php @@ -34,7 +34,7 @@ public function checkPostFieldData($data, &$message, $entry_id = null) } include_once(TOOLKIT . '/class.xsltprocess.php'); - $xsltProc =& new XsltProcess; + $xsltProc = new XsltProcess(); if (!General::validateXML($data, $errors, false, $xsltProc)) {