Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor coding issues #4628

Open
wants to merge 3 commits into
base: feature
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 0 additions & 2 deletions inc/functions_serverstats.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,6 @@ function build_server_stats($is_install=1, $prev_version='', $current_version=''
'zlib' => array('bitwise' => 1, 'title' => 'zlib'),
'mbstring' => array('bitwise' => 2, 'title' => 'mbstring'),
'exif' => array('bitwise' => 4, 'title' => 'exif'),
'zlib' => array('bitwise' => 8, 'title' => 'zlib'),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the reasoning for this ?


),

'functions' => array(
Expand Down
3 changes: 2 additions & 1 deletion install/resources/upgrade8.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ function upgrade8_dbchanges()
$db->write_query("ALTER TABLE ".TABLE_PREFIX."banned DROP olddisplaygroup;");
}
$db->write_query("ALTER TABLE ".TABLE_PREFIX."banned ADD olddisplaygroup int NOT NULL default '0' AFTER oldadditionalgroups");


$contents = '';
$contents .= "Click next to continue with the upgrade process.</p>";
$output->print_contents($contents);
$output->print_footer("8_done");
Expand Down
4 changes: 2 additions & 2 deletions xmlhttp.php
Original file line number Diff line number Diff line change
Expand Up @@ -1093,7 +1093,7 @@
else if($mybb->input['action'] == 'get_referrals')
{
$lang->load('member');
$uid = $mybb->get_input('uid', MYBB::INPUT_INT);
$uid = $mybb->get_input('uid', MyBB::INPUT_INT);

if (!$uid) {
xmlhttp_error($lang->referrals_no_user_specified);
Expand Down Expand Up @@ -1158,4 +1158,4 @@ function xmlhttp_error($message)
echo json_encode(array("errors" => array($message)));

exit;
}
}