From 9a6a652b16bf6a0df3ce5cca3e620fc21ba395b1 Mon Sep 17 00:00:00 2001 From: David Oliver Date: Wed, 10 Jul 2013 14:55:35 +0200 Subject: [PATCH] Remove pass-by-reference from processRawFieldData call --- fields/field.incremental_number.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fields/field.incremental_number.php b/fields/field.incremental_number.php index a0f87a3..84375b3 100755 --- a/fields/field.incremental_number.php +++ b/fields/field.incremental_number.php @@ -56,7 +56,7 @@ public function displayPublishPanel(&$wrapper, $data = NULL, $flagWithError = NU public function processRawFieldData($data, &$status, $message, $simulate = false, $entry_id = null){ if( !$data ) $data = $this->getNewNumber(); - return parent::processRawFieldData($data, &$status, $message, $simulate, $entry_id); + return parent::processRawFieldData($data, $status, $message, $simulate, $entry_id); } public function getNewNumber(){