Skip to content

Commit

Permalink
Remove pass-by-reference from processRawFieldData call
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidOliver committed Jul 10, 2013
1 parent 580fb0c commit 9a6a652
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fields/field.incremental_number.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(){
Expand Down

0 comments on commit 9a6a652

Please sign in to comment.