Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Marcus Andersson
aurweb
Commits
b51458f7
Commit
b51458f7
authored
Dec 15, 2009
by
Loui Chang
Browse files
packages.php: Check if _GET value is set before assuming a default.
Signed-off-by:
Loui Chang
<
louipc.ist@gmail.com
>
parent
9c1781f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
web/html/packages.php
View file @
b51458f7
...
...
@@ -70,8 +70,10 @@ if (isset($_GET['ID'])) {
package_details
(
$_GET
[
'ID'
],
$_COOKIE
[
"AURSID"
]);
}
}
else
{
$_GET
[
'SB'
]
=
'v'
;
$_GET
[
'SO'
]
=
'd'
;
if
(
!
isset
(
$_GET
[
'SB'
]))
{
$_GET
[
'SB'
]
=
'v'
;
$_GET
[
'SO'
]
=
'd'
;
}
pkg_search_page
(
$_COOKIE
[
"AURSID"
]);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment