CRM_Utils_SQL_Select - Fix missing derived table alias and add stricter validation
authorcolemanw <coleman@civicrm.org>
Wed, 14 Jun 2023 19:27:06 +0000 (15:27 -0400)
committercolemanw <coleman@civicrm.org>
Thu, 15 Jun 2023 16:36:18 +0000 (12:36 -0400)
commit6ba05f843e4928601d5a8024c285c8bc219fc20b
treecb7cfe96cd0d48f5a9fad4007f588ca460434887
parent1e8a7c49c98888898edecf3c80697554410d11be
CRM_Utils_SQL_Select - Fix missing derived table alias and add stricter validation

Don't accept sql strings, all sets must be a CRM_Utils_SQL_Select object.
CRM/Utils/SQL/Select.php
tests/phpunit/CRM/Utils/SQL/SelectTest.php