Skip to content

Commit 819c13c

Browse files
author
Berges Yannick
committed
update 1.7 unpublished problem
1 parent 010e0b4 commit 819c13c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

mod_dashboard.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<creationDate>Dec 2018</creationDate>
1010
<authorEmail>[email protected]</authorEmail>
1111
<authorUrl>www.com3elles.com</authorUrl>
12-
<version>1.6</version>
12+
<version>1.7</version>
1313
<copyright>Copyright (C) 2008 - 2019 Open Source Matters. All rights reserved.</copyright>
1414
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
1515
<description>MOD_DASHBOARD_INTRO</description>

tmpl/default.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ class="j-links-link"><?php echo JText::_('MOD_DASHBOARD_DISPLAY_CONFIG_MODULE_TE
492492
<?php foreach ($listUnpublished as $itemUnpublished) :
493493
$canEdit = $user->authorise('core.edit', 'com_content.article.' . $itemUnpublished->id);
494494
$canCheckin = $user->authorise('core.manage', 'com_checkin') || $itemUnpublished->checked_out == $userId || $itemUnpublished->checked_out == 0;
495-
$canEditOwn = $user->authorise('core.edit.own', 'com_content.article.' . $itemUnpublished->id) && $$itemUnpublished->created_by == $userId;
495+
// $canEditOwn = $user->authorise('core.edit.own', 'com_content.article.' . $itemUnpublished->id) && $$itemUnpublished->created_by == $userId;
496496
$canChange = $user->authorise('core.edit.state', 'com_content.article.' . $itemUnpublished->id) && $canCheckin;
497497
if ($canChange):
498498
?>

update.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@
66
<element>mod_dashboard</element>
77
<type>module</type>
88
<client>administrator</client>
9-
<version>1.6</version>
9+
<version>1.7</version>
1010

1111
<infourl title="FAQ">
1212
https://github.com/micker/mod_dashboard/wiki
1313
</infourl>
1414

1515
<downloads>
16-
<downloadurl type="full" format="zip">https://github.com/micker/mod_dashboard/archive/1.6.zip</downloadurl>
16+
<downloadurl type="full" format="zip">https://github.com/micker/mod_dashboard/archive/1.7.zip</downloadurl>
1717
</downloads>
1818

1919
<tags>
20-
<tag>beta</tag>
20+
<tag>stable</tag>
2121
</tags>
2222

2323
<maintainer>Yannick berges</maintainer>

0 commit comments

Comments
 (0)