Skip to content

Commit 893f5d0

Browse files
Merge pull request #32 from dutchenkoOleg/master
fix _getNonRepeatingId
2 parents 6aeb69a + a9b3af7 commit 893f5d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WezomAgency/R2D2.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ protected function _getNonRepeatingId($id, $number = null)
5252
{
5353
$key = $id . ($number ? '-' . $number : '');
5454
if (isset($this->idCache[$key])) {
55-
return $this->getNonRepeatingId($id, ($number ? ++$number : 1));
55+
return $this->_getNonRepeatingId($id, ($number ? ++$number : 1));
5656
}
5757
$this->idCache[$key] = 1;
5858
return $key;

0 commit comments

Comments
 (0)