Skip to content

Commit

Permalink
Merge pull request #454 from joomdonation/master
Browse files Browse the repository at this point in the history
Add missing commits
  • Loading branch information
joomdonation authored Aug 28, 2021
2 parents 073d3c8 + 3883eaf commit 5ae2866
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jorobo.dist.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
extension = weblinks
version = 3.7.0
version = 3.9.0-rc1
source = src
target = package

Expand Down
6 changes: 6 additions & 0 deletions src/administrator/components/com_weblinks/models/weblink.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,12 @@ public function getForm($data = array(), $loadData = true)
$form->setFieldAttribute('publish_down', 'filter', 'unset');
}

// Don't allow to change the created_by user if not allowed to access com_users.
if (!JFactory::getUser()->authorise('core.manage', 'com_users'))
{
$form->setFieldAttribute('created_by', 'filter', 'unset');
}

return $form;
}

Expand Down
2 changes: 1 addition & 1 deletion src/plugins/editors-xtd/weblink/weblink.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
<authorEmail>[email protected]</authorEmail>
<authorUrl>www.joomla.org</authorUrl>
<version>3.7.0</version>
<version>##VERSION##</version>
<description>PLG_EDITORS-XTD_WEBLINK_XML_DESCRIPTION</description>
<files>
##FILES##
Expand Down

0 comments on commit 5ae2866

Please sign in to comment.