Skip to content

Commit

Permalink
Merge pull request #133 from tripal/fix-activeAs
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
almasaeed2010 authored Jan 10, 2019
2 parents c918684 + d98f131 commit 2c89b59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Concerns/InteractsWithAuthSystem.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function actingAs($uid)

// Load the new requested user
if (is_object($uid)) {
if($user->uid === 0) {
if($uid->uid === 0) {
$user = drupal_anonymous_user();
} else{
$user = user_load($uid->uid);
Expand Down

0 comments on commit 2c89b59

Please sign in to comment.