projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0b780c
)
Fix CRM-21348
author
Allen Shaw
<allen@joineryhq.com>
Tue, 24 Oct 2017 22:14:22 +0000
(17:14 -0500)
committer
GitHub
<noreply@github.com>
Tue, 24 Oct 2017 22:14:22 +0000
(17:14 -0500)
Don't hide the "edit" link from logged-in users in profile listings in joomla front-end.
CRM/Profile/Selector/Listings.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Profile/Selector/Listings.php
b/CRM/Profile/Selector/Listings.php
index 566667537b55ec745b3c5da9b95a9d3f545cb775..93e25343596691b433bdccb5fb5eaf723886fdc4 100644
(file)
--- a/
CRM/Profile/Selector/Listings.php
+++ b/
CRM/Profile/Selector/Listings.php
@@
-506,7
+506,7
@@
class CRM_Profile_Selector_Listings extends CRM_Core_Selector_Base implements CR
if ($editLink && ($mask & CRM_Core_Permission::EDIT)) {
// do not allow edit for anon users in joomla frontend, CRM-4668
$config = CRM_Core_Config::singleton();
- if (!$config->userFrameworkFrontend) {
+ if (!$config->userFrameworkFrontend
|| CRM_Core_Session::singleton()->getLoggedInContactID()
) {
$this->_editLink = TRUE;
}
}