Skip to content

Commit

Permalink
ref #28 - some straggling message variables
Browse files Browse the repository at this point in the history
  • Loading branch information
shoulders committed Oct 21, 2020
1 parent f8ce3c9 commit 1824b6f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions admin/helpers/qwhelloworld.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,15 @@ public static function addSubmenu($submenu)
/**
* Get the actions
*/
public static function getActions($component = '', $section = '', $messageId = 0)
public static function getActions($component = '', $section = '', $projectId = 0)
{
$result = new CMSObject;

if (empty($messageId)) {
if (empty($projectId)) {
$assetName = 'com_qwhelloworld';
}
else {
$assetName = 'com_qwhelloworld.message.'.(int) $messageId;
$assetName = 'com_qwhelloworld.stream.'.(int) $projectId;
}

$actions = Access::getActions('com_qwhelloworld', 'component');
Expand Down

0 comments on commit 1824b6f

Please sign in to comment.