Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
S
sucs-site
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Joshua Anthony Morgan
sucs-site
Commits
23433045
Commit
23433045
authored
May 01, 2015
by
Andrew Vincent Pover
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed unnecessary comparison operator
parent
93ccd550
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lib/banana-admin.php
lib/banana-admin.php
+1
-1
No files found.
lib/banana-admin.php
View file @
23433045
...
@@ -28,7 +28,7 @@ if (isset($session->groups[$permission])) {
...
@@ -28,7 +28,7 @@ if (isset($session->groups[$permission])) {
$why
=
$_POST
[
'why'
];
$why
=
$_POST
[
'why'
];
if
(
(
abs
(
$number
)
<=
$maxbanana
)
&&
$number
<>
0
){
if
(
(
abs
(
$number
)
<=
$maxbanana
)
&&
$number
){
$DB
->
Query
(
"INSERT INTO awards (username, score, whn, who, why) VALUES (?,?,NOW(),?,?)"
,
array
(
$who
,
$number
,
$session
->
username
,
$why
));
$DB
->
Query
(
"INSERT INTO awards (username, score, whn, who, why) VALUES (?,?,NOW(),?,?)"
,
array
(
$who
,
$number
,
$session
->
username
,
$why
));
header
(
"Location: "
.
$_SERVER
[
'PHP_SELF'
]);
header
(
"Location: "
.
$_SERVER
[
'PHP_SELF'
]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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