Skip to content

Commit

Permalink
Do not use magic __get() call for retrieving the action name
Browse files Browse the repository at this point in the history
  • Loading branch information
josegonzalez committed Dec 28, 2015
1 parent 903eb4f commit cee0b52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/View/Helper/CrudViewHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ public function getViewVar($key = null)
*/
public function getCssClasses()
{
$action = $this->request->action;
$action = (string)$this->request->param('action');
$pluralVar = $this->getViewVar('pluralVar');
$viewClasses = (array)$this->getViewVar('viewClasses');
$args = func_get_args();
Expand Down

0 comments on commit cee0b52

Please sign in to comment.