Commit: 7cbdc46c84958d8ae1f28e227e6bb3b8f042cb53 Author: Kalle Sommer Nielsen <[email protected]> Mon, 23 Oct 2017 02:49:10 +0200 Parents: abce70f67af9dd138710e29775f5e1fc33bf34e5 Branches: master
Link: http://git.php.net/?p=web/bugs.git;a=commitdiff;h=7cbdc46c84958d8ae1f28e227e6bb3b8f042cb53 Log: Fix annoying array to string error if you are logged in as a security dev, this will no longer make some links look like '...&0=Array...' Changed paths: M www/search.php Diff: diff --git a/www/search.php b/www/search.php index 7e976da..ba4ff35 100644 --- a/www/search.php +++ b/www/search.php @@ -82,7 +82,7 @@ if (isset($_GET['cmd']) && $_GET['cmd'] == 'display') ]; if ($is_security_developer) { - $link_params[] = ['private' => $private]; + $link_params['private'] = $private; } // Remove empty URL parameters -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
