Skip to content

Commit

Permalink
Merge pull request #7 from DavidOliver/master
Browse files Browse the repository at this point in the history
Remove pass-by-reference from processRawFieldData call for PHP 5.4+
  • Loading branch information
designermonkey committed Dec 16, 2013
2 parents 580fb0c + 9a6a652 commit be8312b
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 be8312b

Please sign in to comment.