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

Fix/home page php notices #5162

Merged

Conversation

e-reeley
Copy link
Contributor

@e-reeley e-reeley commented Feb 9, 2018

Description

Updated some of the php files to address the PHP warning notices.

How To Test This

This has been done with focus on the home page. Lowering the suppression of the messages and loading the home page should now show a reduced number of php warning notices.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Final checklist

  • My code follows the code style of this project found here.
  • My change requires a change to the documentation.
  • I have read the How to Contribute guidelines.

@@ -242,7 +242,9 @@ public function getHeader($text = '')
$template->assign('CONFIGURE_ICON', $this->setConfigureIcon());
$template->assign('REFRESH_ICON', $this->setRefreshIcon());
$template->assign('DELETE_ICON',$this->setDeleteIcon());
$template->assign('DASHLET_MODULE',$this->seedBean->module_name);
if(!empty($this->seedBean) && !empty($this->seedBean->module_name)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

First part of this condition is unnecessary.

@Dillon-Brown
Copy link
Contributor

Dillon-Brown commented Feb 12, 2018

Assessed

Approved with PullApprove

@Dillon-Brown Dillon-Brown added the Status:Assessed PRs that have been tested and confirmed to resolve an issue by a core team member label Feb 12, 2018
@samus-aran samus-aran added the Status: Requires Code Review Needs the core team to code review label Feb 14, 2018
@samus-aran samus-aran merged commit c84bb0e into salesagility:hotfix-7.8.x Feb 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status:Assessed PRs that have been tested and confirmed to resolve an issue by a core team member Status: Requires Code Review Needs the core team to code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants