From 9537a4e194d806fe25f34de59ab46123a893ecf1 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Tue, 25 Mar 2014 20:01:19 -0400 Subject: [PATCH] Test fix --- api/v3/utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v3/utils.php b/api/v3/utils.php index 993791cf6b..8d66ea0d11 100644 --- a/api/v3/utils.php +++ b/api/v3/utils.php @@ -319,7 +319,7 @@ function _civicrm_api3_get_DAO($name) { $name = strtoupper($name); } $dao = CRM_Core_DAO_AllCoreTables::getFullName($name); - if ($dao) { + if ($dao || !$name) { return $dao; } -- 2.25.1