cubecart / v6

CubeCart Version 6
https://cubecart.com
71 stars 59 forks source link

Code Check: False to Array #3518

Closed bhsmither closed 4 months ago

bhsmither commented 4 months ago

In User->registerUser(), the variable $error is initialized to false.

Later, $error is being auto-converted to an array. PHP8 has deprecated this.

Suggest line 833:

$error = array();

and line 897:

if (empty($error)) {
abrookbanks commented 4 months ago

Thx.