Skip to content

Commit

Permalink
Bug fix: Undefined variable: main_counter
Browse files Browse the repository at this point in the history
  • Loading branch information
sergey-rud committed Jan 4, 2016
1 parent 13d4344 commit c69f0bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions www/application/classes/model/leap/map/counter.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,8 @@ public function getMainCounterFromSessionTrace($trace)
}else{
return NULL;
}
}else{
return NULL;
}

$result = preg_match('#(\[CID='.$main_counter['id'].')+(,V=)+(?<value>[0-9]+(\.[0-9]+)?)+(\])+#', $counters, $matches);
Expand Down

0 comments on commit c69f0bd

Please sign in to comment.