The process to get a bug fix included is to submit a Pull Request ("PR") to that branch on Github.
This is documented in the civicrm wiki: How to Submit a Patch to a Version Branch
- Get yourself a GitHub account.
- Create an issue in JIRA (already done,
- Create a fork of the appropriate branch of
civicrm-core to your own account.
- At this point I'd usually create a branch named for the JIRA issue.
- Make changes to your forked repository.
- For this small change you could easily apply the patch manually in the GitHub web UI, but for most changes you would clone the codebase to your computer using Git / GitHub app, change the code locally and test it, then push the changes back to your fork.
- Use the GitHub web UI to submit a Pull Request back to the original branch.
- Note the PR number / URL in GitHub, go back to the JIRA issue and add a comment identifying the the PR in the issue.
To get a change into LTS, submit your change to the appropriate version branch - currently 4.4 - as well as to the master branch.
Going further ... Your aim is to make it easy for maintainers to accept the change, to make it clear why they should accept the change, and to reassure them that the change is not harmful. Submitting a PR addresses the first of these.
The PR makes it easy for maintainers to merge the changed code in. To help illustrate the motivation for accepting the change, you might need to improve the ticket in JIRA so that the severity of the problem is clear. To demonstrate that the change is not harmful, you might expand test coverage to prove that the functionality before and after the change is equivalent or even improved.