Skip to content

Commit

Permalink
Tests for PHP 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitaliy-1 committed Oct 19, 2022
1 parent e14785d commit 7e8f40f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ addons:
sudo: required

php:
- 7.3
- 7.4
- 8.0
- 8.1.0
env:
- APPLICATION=ojs BRANCH=main TEST=mysql
- APPLICATION=ojs BRANCH=main TEST=pgsql
- APPLICATION=ojs BRANCH=stable-3_3_0 TEST=mysql
- APPLICATION=ojs BRANCH=stable-3_3_0 TEST=pgsql

install:
# Prepare OJS environment
Expand Down
1 change: 1 addition & 0 deletions templates/frontend/pages/search.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
<h2>{translate key="plugins.themes.healthSciences.search.params"}</h2>

{capture name="searchFormUrl"}{url escape=false}{/capture}
{assign var=formUrlParameters value=[]}{* Prevent Smarty warning *}
{$smarty.capture.searchFormUrl|parse_url:$smarty.const.PHP_URL_QUERY|parse_str:$formUrlParameters}
<form class="form-search" method="get" action="{$smarty.capture.searchFormUrl|strtok:"?"|escape}">
{foreach from=$formUrlParameters key=paramKey item=paramValue}
Expand Down

0 comments on commit 7e8f40f

Please sign in to comment.