Early return during APIv4::get if table doesn't exist
authorColeman Watts <coleman@civicrm.org>
Wed, 12 Aug 2020 15:44:39 +0000 (11:44 -0400)
committerColeman Watts <coleman@civicrm.org>
Thu, 13 Aug 2020 00:50:58 +0000 (20:50 -0400)
commit06f83d5c19ad0a98613830a2631a554009d256ba
treee33df724bfcf83ce8865e8648dc11fa74b3c314f
parent929a1c1450f6011cc2679fe1a74fb492cbc9c10d
Early return during APIv4::get if table doesn't exist

If there are pending upgrades, checks if table exists before attempting to read from it.
CRM/Core/DAO.php
Civi/Api4/Generic/DAOGetAction.php
tests/phpunit/CRM/Core/DAOTest.php