Commit 69d4217ea8b41b9ae8ccb9d0864ed36e28ac1949
1 parent
5a57cafe
registration
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/library/App/Controllers/UserController.php
@@ -65,7 +65,7 @@ class UserController extends CrudResourceController | @@ -65,7 +65,7 @@ class UserController extends CrudResourceController | ||
65 | } | 65 | } |
66 | 66 | ||
67 | $primaryKey = $this->getModelPrimaryKey(); | 67 | $primaryKey = $this->getModelPrimaryKey(); |
68 | - $responseData = $this->getFindData($newItem->$primaryKey); | 68 | + $responseData = $this->getFindData($newItem->id); |
69 | 69 | ||
70 | die(var_dump($responseData)); | 70 | die(var_dump($responseData)); |
71 | 71 |