forked from ambta/DoctrineEncryptBundle
-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Description
When I use the doctrine:decrypt:database command, I get the following error :
In DoctrineDecryptDatabaseCommand.php line 102: Cannot use object of type App\Entity\User as array
The bug fix is quite easy, I believe. You just have to modify line 102 in DoctrineDecryptDatabaseCommand.php:
Actual code :
$entity = $row[0];
Fixed code :
$entity = (is_array($row) ? $row[0] : $row);
Sorry I did not make a pull request, but I'm not sure how to do that...
morgzz
Metadata
Metadata
Assignees
Labels
No labels