CMS MADE SIMPLE FORGE

CGFeedback

 

[#11693] PHP Notice: Undefined index: extra in class.comment.php on line 18

avatar
Created By: Rolf (rolf1)
Date Submitted: Mon Jan 08 13:23:23 -0500 2018

Assigned To: Robert Campbell (calguy1000)
Version: 2.1
CMSMS Version: 2.2.5
Severity: None
Resolution: Fixed
State: Open
Summary:
PHP Notice: Undefined index: extra in class.comment.php on line 18
Detailed Description:
Hi Robert,

I find a lot of these in my error log.
Website works like expected.

PHP Notice:  Undefined index: extra in
/home/abc/public_html/www.site.com/modules/CGFeedback/lib/class.comment.php on
line 18

CMSMS Version 		2.2.5
CGExtensions 		1.57.1
CGFeedback 		2.1

PHP Version 	7.1.12 

Greetz, Rolf


History

Comments
avatar
Date: 2018-01-09 08:36
Posted By: Rolf (rolf1)

Change line 18 from:
else if( is_array($this->_data) && is_array($this->_data['extra']) &&
isset($this->_data['extra'][$key])  ) {

to:
else if( is_array($this->_data) && isset($this->_data['extra'][$key]) &&
is_array($this->_data['extra']) ) {

and fixed.
      
avatar
Date: 2018-01-27 09:46
Posted By: Robert Campbell (calguy1000)

fixed in svn
      
Updates

Updated: 2018-01-27 09:46
resolution_id: => 7