mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-01 03:26:36 +08:00
Fixes #16945: Fixed RBAC DbManager ruleName fetching on the case of PDO::ATTR_ORACLE_NULLS => PDO::NULL_TO_STRING
This commit is contained in:
committed by
Alexander Makarov
parent
b128ec85f4
commit
2b79a0c5ba
@ -451,7 +451,7 @@ class DbManager extends BaseManager
|
||||
'name' => $row['name'],
|
||||
'type' => $row['type'],
|
||||
'description' => $row['description'],
|
||||
'ruleName' => $row['rule_name'],
|
||||
'ruleName' => $row['rule_name'] ?: null,
|
||||
'data' => $data,
|
||||
'createdAt' => $row['created_at'],
|
||||
'updatedAt' => $row['updated_at'],
|
||||
|
||||
Reference in New Issue
Block a user