Skip to content

Commit

Permalink
Fix for php backward incompatible changes
Browse files Browse the repository at this point in the history
Newer versions of php would crash of this with the error "objects cannot be assigned by reference."
  • Loading branch information
ChoboHub authored and nitriques committed Jan 10, 2017
1 parent c02b441 commit a6fc48a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fields/field.xml.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {

Expand Down

0 comments on commit a6fc48a

Please sign in to comment.