Skip to content

Commit

Permalink
fix arg by ref removal in previous commit. Refs #27
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuNls committed Jun 4, 2015
1 parent 393765c commit f30beee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/models/measure.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ function addAccuracyMesure($measureId, $referenceTime, $userTime){
if($this->update($measureId, $data) !== false){

$watchMeasure = $this->find($measureId);
$this->computeAccuracy($watchMeasure);
$watchMeasure->accuracy = $this->computeAccuracy($watchMeasure);

return $watchMeasure;
}
Expand Down

0 comments on commit f30beee

Please sign in to comment.