Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas K. Dionysopoulos committed Apr 23, 2019
1 parent ed27375 commit 58fee30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/system/datacompliance/datacompliance.php
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ private function hasJoomlaConsent(User $user): bool
$db = $this->container->db;
$query = $db->getQuery(true)
->select($db->qn('profile_value'))
->from($db->qn('#__user_profile'))
->from($db->qn('#__user_profiles'))
->where($db->quoteName('user_id') . ' = ' . (int)($user->id))
->where($db->quoteName('profile_key') . ' = ' . $db->q('privacyconsent.privacy'));
$result = $db->setQuery($query)->loadResult();
Expand Down

0 comments on commit 58fee30

Please sign in to comment.