Bug Missing isset() code checks

Status
Not open for further replies.

ZeroHour

Customer
Hi
Moved to 4.2.3 and spotted a few errors related to:
PHP Error: Undefined index:

For example on line 231 of /dbtech/vbsecurity/includes/class_core.php you have:
Code:
if (!$info['intperm'])

but it should be:

Code:
if (!isset($info['intperm']))
 
It seems like your PHP installation may be configured to be too verbose with its error reporting. Can you make sure you don't override the default of
PHP:
error_reporting(E_ALL & ~E_NOTICE);
anywhere in your forum?

Notices should not be displayed and frankly, don't cause any harm to your forum so it's not worth the extra man-hours it would take to be 100% perfect :)
 
As this ticket has received no further replies, I'll close it. If you have any further issues or queries, please feel free to start a new support ticket. Thanks!
 
Status
Not open for further replies.

Legacy vBSecurity

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
813
Customer rating
0.00 star(s) 0 ratings
Back
Top