File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ trait ActiveRecordAccessTrait
3535 * Public / all access
3636 * @var string
3737 */
38- private static $ _public = '* ' ;
38+ private static $ _all = '* ' ;
3939
4040 /**
4141 * @return array with access field names
@@ -79,7 +79,7 @@ public static function find()
7979
8080 // access domain check
8181 if ($ accessDomain ) {
82- $ query ->andWhere ([$ accessDomain => [\Yii::$ app ->language , self ::$ _public ]]);
82+ $ query ->andWhere ([$ accessDomain => [\Yii::$ app ->language , self ::$ _all ]]);
8383 }
8484 }
8585
@@ -198,7 +198,7 @@ public function beforeDelete()
198198 */
199199 public static function allAccess ()
200200 {
201- return [self ::$ _public => self ::$ _public ];
201+ return [self ::$ _all => self ::$ _all ];
202202 }
203203
204204 /**
You can’t perform that action at this time.
0 commit comments