@@ -44,7 +44,7 @@ |
||
| 44 | 44 | $pkIndex = null; |
| 45 | 45 | if ($key) { |
| 46 | 46 | // convert php to lua index |
| 47 | - $pkIndex = $space->getPrimaryField()+1; |
|
| 47 | + $pkIndex = $space->getPrimaryField() + 1; |
|
| 48 | 48 | if (!array_key_exists($key, $params) || !$params[$key]) { |
| 49 | 49 | $sequence = 1; |
| 50 | 50 | $space->getMapper() |