Skip to content

Commit

Permalink
Fixed bug with new yii2-crud-fields
Browse files Browse the repository at this point in the history
  • Loading branch information
execut committed Aug 10, 2020
1 parent 7723a32 commit cec3ac4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crudFields/PageAddress.php
Expand Up @@ -6,13 +6,13 @@

use execut\crudFields\fields\Field;
use execut\pages\crudFields\pageAddress\Adapter;
use yii\db\ActiveQuery;
use yii\db\ActiveQueryInterface;
use yii\helpers\ArrayHelper;
use yii\helpers\Html;

class PageAddress extends Field
{
protected function applyFieldScopes(ActiveQuery $query)
protected function applyFieldScopes(ActiveQueryInterface $query)
{
$address = $this->getValue();
if (!empty($address)) {
Expand Down

0 comments on commit cec3ac4

Please sign in to comment.