Skip to content

Commit be8312b

Browse files
Merge pull request #7 from DavidOliver/master
Remove pass-by-reference from processRawFieldData call for PHP 5.4+
2 parents 580fb0c + 9a6a652 commit be8312b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fields/field.incremental_number.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function displayPublishPanel(&$wrapper, $data = NULL, $flagWithError = NU
5656
public function processRawFieldData($data, &$status, $message, $simulate = false, $entry_id = null){
5757
if( !$data ) $data = $this->getNewNumber();
5858

59-
return parent::processRawFieldData($data, &$status, $message, $simulate, $entry_id);
59+
return parent::processRawFieldData($data, $status, $message, $simulate, $entry_id);
6060
}
6161

6262
public function getNewNumber(){

0 commit comments

Comments
 (0)