Commit 6ccbfc1f authored by Stefan Bäcker's avatar Stefan Bäcker Committed by Robert Lyon
Browse files

Bug 1990981: Appending parameters correctly again to copy portfolios into group



There was an error in commit c8306324
on line 6453 (now line 6516)

Before:

!empty($params)

After

!$params

Should be

$params

Change-Id: I61779f9b3bd65ae802362e7c839b8e6a5c55b0bc
Signed-off-by: default avatarRobert Lyon <robertl@catalyst.net.nz>
(cherry picked from commit b8762df3)
parent 8625009c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6513,7 +6513,7 @@ class View {
        $search->pagination = build_pagination(array(
            'id' => 'templatesearch_pagination',
            'class' => 'center',
            'url' => get_config('wwwroot') . 'view/choosetemplate.php' . (!$params ? ('?' . http_build_query($params)) : ''),
            'url' => get_config('wwwroot') . 'view/choosetemplate.php' . ($params ? ('?' . http_build_query($params)) : ''),
            'count' => $results->count,
            'limit' => $search->limit,
            'offset' => $search->offset,