DAO - Normalize null values in the writeRecord function to avoid subtle bugs
authorcolemanw <coleman@civicrm.org>
Tue, 1 Aug 2023 23:00:16 +0000 (19:00 -0400)
committercolemanw <coleman@civicrm.org>
Tue, 1 Aug 2023 23:00:16 +0000 (19:00 -0400)
commit25564af9b87e192fc61b5de1e3f2b42a1ed90910
tree9cc94e1b738c8deecbe9f99c22c1ba1e3471e96f
parentf7f0b44bb370f598ab9b45dd60f258d7411bffc9
DAO - Normalize null values in the writeRecord function to avoid subtle bugs

Passing around the string 'null' was a terrible practice and can lead to bugs when you use
an operator like `empty()` on the value.
CRM/Core/DAO.php