Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

fix(log): correct the undefined index notice in the logs #7395

Merged
merged 1 commit into from
Apr 8, 2019

Conversation

sc979
Copy link
Contributor

@sc979 sc979 commented Apr 8, 2019

Pull Request Template

Description

  • Fix the undefined index :
    PHP Notice: Undefined offset: 1 in /usr/share/centreon/www/index.php on line 112 in :
    /var/opt/rh/rh-php71/log/php-fpm/centreon-error.log

  • Correct style and psr2 issues

Type of change

  • Patch fixing an issue (non-breaking change)

Target serie

  • 18.10.x
  • 19.04.x (master)

How this pull request can be tested ?

Open the IHM, this notice should appear in the PHP log very frequently

Checklist

Community contributors & Centreon team
  • I followed the coding style guidelines provided by Centreon
  • I have rebased my development branch on the base branch (master, maintenance).

@sc979 sc979 merged commit 6ef3768 into 18.10.x Apr 8, 2019
@sc979 sc979 deleted the MON-fix-undefined-index-in-index-php branch April 8, 2019 11:39
sc979 added a commit that referenced this pull request Apr 8, 2019
@sc979 sc979 restored the MON-fix-undefined-index-in-index-php branch April 11, 2019 14:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants