Skip to content

Update GroupGridView.php#5

Open
gabrieljenik wants to merge 1 commit intovitalets:masterfrom
gabrieljenik:patch-1
Open

Update GroupGridView.php#5
gabrieljenik wants to merge 1 commit intovitalets:masterfrom
gabrieljenik:patch-1

Conversation

@gabrieljenik
Copy link

Fix: Providing right context for the evaluation of the column value.
Although the code is well copied from renderDataCell in framework/zii/widgets/grid/CGridColumn.php#135, the data variable is not in the same scope.

First line in original code is missing: $data=$this->grid->dataProvider->data[$row];
I added a similar one.

Fix: Providing right context for the evaluation of the column value.
Although the code is well copied from renderDataCell in framework/zii/widgets/grid/CGridColumn.php#135, the data variable is not in the same scope. 

First line in original code is missing: $data=$this->grid->dataProvider->data[$row];
I added a similar one.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant