fuel/core — Issue #625: $_primary_key VS ::primary_key in Model_Crud
Author: patoman
Created: 2011-10-29 17:41:11+00:00
State: open

In Model_Crud is documented

```php
/**
* @var string $_primary_key The primary key for the table
*/
// protected static $_primary_key = 'id';
```

but in source code is used static::primary_key()

its normal ?

provides error for me..

```php
ErrorException [ Notice ]: Array to string conversion

COREPATH/classes/model/crud.php @ line 283:

282:	{
283:	if (isset($this->{static::primary_key()}))
284:	{
```