Skip to content

Commit

Permalink
Merge branch 'upstream/4.0-dev' into feature/htmlhelper-for-an-icon
Browse files Browse the repository at this point in the history
  • Loading branch information
hans2103 committed Oct 26, 2020
2 parents 2a943c4 + 42cf9bd commit b1660ab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ install:
- IF %PHP%==1 echo opcache.enable_cli=1 >> php.ini
- IF %PHP%==1 echo extension=php_ldap.dll >> php.ini
- IF %PHP%==1 echo @php %%~dp0composer.phar %%* > composer.bat
- IF %PHP%==1 php -r "readfile('http://getcomposer.org/installer');" | php
- IF %PHP%==1 php -r "readfile('https://getcomposer.org/composer-1.phar');" > composer.phar
- cd C:\projects\joomla-cms
- appveyor-retry composer install --no-progress --profile
before_test:
Expand Down
2 changes: 1 addition & 1 deletion language/en-GB/com_content.ini
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,4 @@ COM_CONTENT_TRANSITION="Transition"
COM_CONTENT_VOTES="Vote"
COM_CONTENT_VOTES_COUNT="Vote: %s"
COM_CONTENT_WORKFLOW="Workflow"
COM_CONTENT_WRITTEN_BY="Written by %s"
COM_CONTENT_WRITTEN_BY="Written by: %s"
2 changes: 1 addition & 1 deletion plugins/content/pagenavigation/pagenavigation.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public function onContentBeforeDisplay($context, &$row, &$params, $page = 0)
->bind(':catid', $row->catid, ParameterType::INTEGER)
->bind(':state', $row->state, ParameterType::INTEGER);

if ($canPublish)
if (!$canPublish)
{
$query->whereIn($db->quoteName('a.access'), Access::getAuthorisedViewLevels($user->id));
}
Expand Down

0 comments on commit b1660ab

Please sign in to comment.