salesagility / SuiteCRM

SuiteCRM - Open source CRM for the world
https://www.suitecrm.com
GNU Affero General Public License v3.0
4.26k stars 2.03k forks source link

Fix #10433 - Email Address ID being double quoted #10434

Open azzy9 opened 1 month ago

azzy9 commented 1 month ago

Description

Issue: #10433 Fixes issue of the email address ID being double quoted which causes a mysql error in the log. It gets quoted previously at: https://github.com/salesagility/SuiteCRM/blob/hotfix/include/SugarEmailAddress/SugarEmailAddress.php#L462 $_id = $db->quoted($id);

Motivation and Context

Stops MySQL error in log

How To Test This

Go to user in Admin, edit email address and then check log for error. This fix stops the error.

Types of changes

Final checklist

SuiteBot commented 1 month ago

CLA assistant check
All committers have signed the CLA.

serhiisamko091184 commented 1 month ago

Hello @azzy9,

thanks for your contribution to the SuiteCRM Project!

Regards, Serhii